Package org.spincast.plugins.undertow
Class FullPathMatchingPathHandler
java.lang.Object
io.undertow.server.handlers.PathHandler
org.spincast.plugins.undertow.FullPathMatchingPathHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class FullPathMatchingPathHandler
extends io.undertow.server.handlers.PathHandler
Custom PathHandler that always match on the full path, not the
remaining path, if previous PathHandler matched.
Warning: Those FullPathMatchingPathHandlers shouldn't be use in association with regular PathHandlers since they override the "relative path" of the exchange, that is used by regular PathHandlers. You should only use FullPathMatchingPathHandlers or only regular PathHandlers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(io.undertow.server.HttpServerExchange exchange) Methods inherited from class io.undertow.server.handlers.PathHandler
addExactPath, addPath, addPrefixPath, clearPaths, removeExactPath, removePath, removePrefixPath, toString
-
Constructor Details
-
FullPathMatchingPathHandler
public FullPathMatchingPathHandler(io.undertow.server.HttpHandler defaultHandler)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Overrides:
handleRequest
in classio.undertow.server.handlers.PathHandler
- Throws:
Exception
-