public class RewriteHandler extends Object implements HttpHandler
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<Boolean> |
invoked
If rewriting occurs, the whole request will be processed again.
|
| Constructor and Description |
|---|
RewriteHandler(RewriteConfig config,
HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
protected static boolean |
hasScheme(StringBuffer uri)
Determine if a URI string has a
scheme component. |
protected ThreadLocal<Boolean> invoked
public RewriteHandler(RewriteConfig config, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandlerhandleRequest in interface HttpHandlerexchange - the HTTP request/response exchangeExceptionprotected static boolean hasScheme(StringBuffer uri)
scheme component.Copyright © 2019 JBoss by Red Hat. All rights reserved.