Package io.undertow.servlet.handlers
Class RedirectDirHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.RedirectDirHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class RedirectDirHandler extends java.lang.Object implements io.undertow.server.HttpHandler
Handler that redirects the directory requests without trailing slash to the one append trailing slash.- Author:
- Lin Gao
-
-
Constructor Summary
Constructors Constructor Description RedirectDirHandler(io.undertow.server.HttpHandler next, ServletPathMatches paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Constructor Detail
-
RedirectDirHandler
public RedirectDirHandler(io.undertow.server.HttpHandler next, ServletPathMatches paths)
-
-