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 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.PathHandler
addExactPath(String path, io.undertow.server.HttpHandler handler)
io.undertow.server.handlers.PathHandler
addPrefixPath(String path, io.undertow.server.HttpHandler handler)
io.undertow.server.HttpHandler
getHandler(String path)
boolean
isEmpty()
io.undertow.server.handlers.PathHandler
removeExactPath(String path)
io.undertow.server.handlers.PathHandler
removePrefixPath(String path)
String
toString()
-
-
-
Method Detail
-
addPrefixPath
public io.undertow.server.handlers.PathHandler addPrefixPath(String path, io.undertow.server.HttpHandler handler)
- Overrides:
addPrefixPath
in classio.undertow.server.handlers.PathHandler
-
addExactPath
public io.undertow.server.handlers.PathHandler addExactPath(String path, io.undertow.server.HttpHandler handler)
- Overrides:
addExactPath
in classio.undertow.server.handlers.PathHandler
-
removePrefixPath
public io.undertow.server.handlers.PathHandler removePrefixPath(String path)
- Overrides:
removePrefixPath
in classio.undertow.server.handlers.PathHandler
-
removeExactPath
public io.undertow.server.handlers.PathHandler removeExactPath(String path)
- Overrides:
removeExactPath
in classio.undertow.server.handlers.PathHandler
-
getHandler
public io.undertow.server.HttpHandler getHandler(String path)
-
isEmpty
public boolean isEmpty()
-
-