public class RewriteHandler extends Object implements HttpHandler
| Modifier and Type | Field | Description |
|---|---|---|
protected ThreadLocal<Boolean> |
invoked |
If rewriting occurs, the whole request will be processed again.
|
| Constructor | Description |
|---|---|
RewriteHandler(RewriteConfig config,
HttpHandler next) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
handleRequest(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, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
handleRequest in interface HttpHandlerExceptionprotected static boolean hasScheme(StringBuffer uri)
scheme component.Copyright © 2026 JBoss by Red Hat. All rights reserved.