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 classCanonicalPathHandler.Builder
-
Constructor Summary
Constructors Constructor Description CanonicalPathHandler()CanonicalPathHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHandlergetNext()voidhandleRequest(HttpServerExchange exchange)Handle the request.CanonicalPathHandlersetNext(HttpHandler next)StringtoString()
-
-
-
Constructor Detail
-
CanonicalPathHandler
public CanonicalPathHandler()
-
CanonicalPathHandler
public CanonicalPathHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
getNext
public HttpHandler getNext()
-
setNext
public CanonicalPathHandler setNext(HttpHandler next)
-
-