Package io.undertow.server.handlers
Class CanonicalPathHandler
- java.lang.Object
-
- io.undertow.server.handlers.CanonicalPathHandler
-
- All Implemented Interfaces:
HttpHandler
public class CanonicalPathHandler extends java.lang.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)java.lang.StringtoString()
-
-
-
Constructor Detail
-
CanonicalPathHandler
public CanonicalPathHandler()
-
CanonicalPathHandler
public CanonicalPathHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
java.lang.Exception
-
getNext
public HttpHandler getNext()
-
setNext
public CanonicalPathHandler setNext(HttpHandler next)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-