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