public class RewriteHandler extends Object implements io.undertow.server.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,
io.undertow.server.HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected static boolean |
hasScheme(StringBuffer uri)
Determine if a URI string has a
scheme component. |
protected ThreadLocal<Boolean> invoked
public RewriteHandler(RewriteConfig config, io.undertow.server.HttpHandler next)
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerExceptionprotected static boolean hasScheme(StringBuffer uri)
scheme component.Copyright © 2017. All rights reserved.