public.javadoc.org.spincast.plugins.undertow.FullPathMatchingPathHandler.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
FullPathMatchingPathHandler (org.spincast:spincast-framework 2.1.1 API)
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 Type
Method
Description
void
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 interface io.undertow.server.HttpHandler
- Overrides:
handleRequest
in class io.undertow.server.handlers.PathHandler
- Throws:
Exception