Package jadex.publishservice.publish
Interface IPathHandler
- All Superinterfaces:
IRequestHandler
- All Known Implementing Classes:
PathHandler
,PathHandler2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubhandler
(String vhost, String path, IRequestHandler subhandler) Adds a new subhandler.boolean
containsSubhandlerForExactUri
(String vhost, String path) Tests if a handler for the exact URI is currently published.Map
<jadex.common.Tuple2<String, String>, jadex.common.Tuple2<String, IRequestHandler>> Get the subhandlers.void
removeSubhandler
(String vhost, String path) Remove a subhandler.Methods inherited from interface jadex.publishservice.publish.IRequestHandler
handleRequest
-
Method Details
-
addSubhandler
Adds a new subhandler.- Parameters:
vhost
- Virtual host specification.path
- Path being handled.subhandler
- The subhandler.
-
removeSubhandler
Remove a subhandler.- Parameters:
vhost
- Virtual host specification.path
- Path being handled.
-
containsSubhandlerForExactUri
Tests if a handler for the exact URI is currently published.- Parameters:
vhost
- Virtual host specification.path
- Path being handled.- Returns:
- True, if a handler was found.
-
getSubhandlers
Map<jadex.common.Tuple2<String,String>, getSubhandlers()jadex.common.Tuple2<String, IRequestHandler>> Get the subhandlers.- Returns:
- The subhandlers
-