Package io.undertow.server.handlers
Class CanonicalPathHandler
- java.lang.Object
-
- io.undertow.server.handlers.CanonicalPathHandler
-
- All Implemented Interfaces:
HttpHandler
public class CanonicalPathHandler extends Object implements HttpHandler
- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CanonicalPathHandler.Builder
-
Constructor Summary
Constructors Constructor Description CanonicalPathHandler()
CanonicalPathHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHandler
getNext()
void
handleRequest(HttpServerExchange exchange)
Handle the request.CanonicalPathHandler
setNext(HttpHandler next)
String
toString()
-
-
-
Constructor Detail
-
CanonicalPathHandler
public CanonicalPathHandler()
-
CanonicalPathHandler
public CanonicalPathHandler(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
-
getNext
public HttpHandler getNext()
-
setNext
public CanonicalPathHandler setNext(HttpHandler next)
-
-