public class ForwardedHandler extends Object implements HttpHandler
Modifier and Type | Class and Description |
---|---|
static class |
ForwardedHandler.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
BY |
static String |
FOR |
static String |
HOST |
static String |
PROTO |
Constructor and Description |
---|
ForwardedHandler(HttpHandler next) |
ForwardedHandler(HttpHandler next,
boolean isChangeLocalAddrPort) |
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public static final String BY
public static final String FOR
public static final String HOST
public static final String PROTO
public ForwardedHandler(HttpHandler next)
public ForwardedHandler(HttpHandler next, boolean isChangeLocalAddrPort)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2021 JBoss by Red Hat. All rights reserved.