Class PathMatcher<T>
java.lang.Object
io.quarkus.vertx.http.runtime.security.PathMatcher<T>
Deprecated.
Handler that dispatches to a given handler based of a prefix match of the path.
This only matches a single level of a request, e.g. if you have a request that takes the form:
/foo/bar
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExactPath(String path, T handler) Deprecated.addPrefixPath(String path, T handler) Deprecated.Adds a path prefix and a handler for that path.Deprecated.getExactPath(String path) Deprecated.getPaths()Deprecated.getPrefixPath(String path) Deprecated.Deprecated.Matches a path against the registered handlers.removeExactPath(String path) Deprecated.removePath(String path) Deprecated.removePrefixPath(String path) Deprecated.
-
Constructor Details
-
PathMatcher
Deprecated. -
PathMatcher
public PathMatcher()Deprecated.
-
-
Method Details
-
match
Deprecated.Matches a path against the registered handlers.- Parameters:
path- The relative path to match- Returns:
- The match match. This will never be null, however if none matched its value field will be
-
addPrefixPath
Deprecated.Adds a path prefix and a handler for that path. If the path does not start with a / then one will be prepended.The match is done on a prefix bases, so registering /foo will also match /bar. Exact path matches are taken into account first.
If / is specified as the path then it will replace the default handler.
- Parameters:
path- The pathhandler- The handler
-
addExactPath
Deprecated. -
getExactPath
Deprecated. -
getPrefixPath
Deprecated. -
removePath
Deprecated. -
removePrefixPath
Deprecated. -
removeExactPath
Deprecated. -
clearPaths
Deprecated. -
getPaths
Deprecated.
-
ImmutablePathMatcherinstead