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)  |  
| Modifier and Type | Method and Description | 
|---|---|
void |  handleRequest(HttpServerExchange exchange) Handle the request.   |  
public ProxyPeerAddressHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.