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.PathHandlerExtended PathHandler to monitor add/remove handlers.
-
-
Constructor Summary
Constructors Constructor Description CamelPathHandler(io.undertow.server.HttpHandler defaultHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.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)StringtoString()
-
-
-
Method Detail
-
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
public io.undertow.server.handlers.PathHandler removePrefixPath(String path)
- Overrides:
removePrefixPathin classio.undertow.server.handlers.PathHandler
-
removeExactPath
public io.undertow.server.handlers.PathHandler removeExactPath(String path)
- Overrides:
removeExactPathin classio.undertow.server.handlers.PathHandler
-
getHandler
public io.undertow.server.HttpHandler getHandler(String path)
-
isEmpty
public boolean isEmpty()
-
toString
public String toString()
- Overrides:
toStringin classio.undertow.server.handlers.PathHandler
-
-