Package io.undertow.servlet.handlers
Class RedirectDirHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.RedirectDirHandler
-
- All Implemented Interfaces:
HttpHandler
public class RedirectDirHandler extends Object implements 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(HttpHandler next, ServletPathMatches paths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(HttpServerExchange exchange)
-
-
-
Constructor Detail
-
RedirectDirHandler
public RedirectDirHandler(HttpHandler next, ServletPathMatches paths)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
- Specified by:
handleRequestin interfaceHttpHandler- Throws:
Exception
-
-