Class CamelPathHandler
java.lang.Object
io.undertow.server.handlers.PathHandler
org.apache.camel.component.undertow.handlers.CamelPathHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class CamelPathHandler
extends io.undertow.server.handlers.PathHandler
Extended PathHandler to monitor add/remove handlers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.undertow.server.handlers.PathHandleraddExactPath(String path, io.undertow.server.HttpHandler handler) io.undertow.server.handlers.PathHandleraddPrefixPath(String path, io.undertow.server.HttpHandler handler) io.undertow.server.HttpHandlergetHandler(String path) booleanisEmpty()io.undertow.server.handlers.PathHandlerremoveExactPath(String path) io.undertow.server.handlers.PathHandlerremovePrefixPath(String path) toString()Methods inherited from class io.undertow.server.handlers.PathHandler
addPath, clearPaths, handleRequest, removePath
-
Constructor Details
-
CamelPathHandler
public CamelPathHandler(io.undertow.server.HttpHandler defaultHandler)
-
-
Method Details
-
addPrefixPath
public io.undertow.server.handlers.PathHandler addPrefixPath(String path, io.undertow.server.HttpHandler handler) - Overrides:
addPrefixPathin classio.undertow.server.handlers.PathHandler
-
addExactPath
public io.undertow.server.handlers.PathHandler addExactPath(String path, io.undertow.server.HttpHandler handler) - Overrides:
addExactPathin classio.undertow.server.handlers.PathHandler
-
removePrefixPath
- Overrides:
removePrefixPathin classio.undertow.server.handlers.PathHandler
-
removeExactPath
- Overrides:
removeExactPathin classio.undertow.server.handlers.PathHandler
-
getHandler
-
isEmpty
public boolean isEmpty() -
toString
- Overrides:
toStringin classio.undertow.server.handlers.PathHandler
-