Class RewriteHandler
java.lang.Object
io.undertow.servlet.compat.rewrite.RewriteHandler
- All Implemented Interfaces:
HttpHandler
- Author:
- Remy Maucherat
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ThreadLocal<Boolean>If rewriting occurs, the whole request will be processed again. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(HttpServerExchange exchange) Handle the request.protected static booleanhasScheme(StringBuilder uri) Determine if a URI string has aschemecomponent.
-
Field Details
-
invoked
If rewriting occurs, the whole request will be processed again.
-
-
Constructor Details
-
RewriteHandler
-
-
Method Details
-
handleRequest
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
hasScheme
Determine if a URI string has aschemecomponent.
-