Package io.undertow.servlet.handlers
Class RedirectDirHandler
java.lang.Object
io.undertow.servlet.handlers.RedirectDirHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
Handler that redirects the directory requests without trailing slash to the one append trailing slash.
- Author:
- Lin Gao
-
Constructor Summary
ConstructorsConstructorDescriptionRedirectDirHandler
(io.undertow.server.HttpHandler next, ServletPathMatches paths) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
RedirectDirHandler
-
-
Method Details
-
handleRequest
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Throws:
Exception
-