Package io.undertow.server.handlers
Class PathSeparatorHandler
- java.lang.Object
-
- io.undertow.server.handlers.PathSeparatorHandler
-
- All Implemented Interfaces:
HttpHandler
public class PathSeparatorHandler extends Object implements HttpHandler
A handler that translates non slash separator characters in the URL into a slash. In general this will translate backslash into slash on windows systems.- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PathSeparatorHandler.Builder
-
Constructor Summary
Constructors Constructor Description PathSeparatorHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.String
toString()
-
-
-
Constructor Detail
-
PathSeparatorHandler
public PathSeparatorHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
-