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 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)
java.lang.String
toString()
-
-
-
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:HttpHandler
Handle the request.- Specified by:
handleRequest
in 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:
toString
in classjava.lang.Object
-
-