public class ProxyPeerAddressHandler extends Object implements HttpHandler
This should only be used behind a proxy that always sets this header, otherwise it is possible for an attacker to forge their peer address;
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyPeerAddressHandler.Builder |
| Constructor and Description |
|---|
ProxyPeerAddressHandler(HttpHandler next) |
public ProxyPeerAddressHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionCopyright © 2016. All rights reserved.