Package org.eclipse.jetty.http.pathmap
Class MatchedResource<E>
java.lang.Object
org.eclipse.jetty.http.pathmap.MatchedResource<E>
- Type Parameters:
E
- the type of resource (IncludeExclude uses boolean, WebSocket uses endpoint/endpoint config, servlet uses ServletHolder, etc)
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
The match details when using
PathMappings.getMatched(String)
, used to minimize return to the PathSpec or PathMappings for subsequent details
that are now provided by the MatchedPath
instance.-
Constructor Summary
ConstructorsConstructorDescriptionMatchedResource
(E resource, PathSpec pathSpec, MatchedPath matchedPath) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return the portion of the path that is after the path spec.Deprecated.Return the portion of the path that matches a path spec.Deprecated.Deprecated.static <E> MatchedResource
<E> of
(Map.Entry<PathSpec, E> mapping, MatchedPath matchedPath) Deprecated.
-
Constructor Details
-
MatchedResource
Deprecated.
-
-
Method Details
-
of
Deprecated. -
getPathSpec
Deprecated. -
getResource
Deprecated. -
getPathMatch
Deprecated.Return the portion of the path that matches a path spec.- Returns:
- the path name portion of the match.
-
getPathInfo
Deprecated.Return the portion of the path that is after the path spec.- Returns:
- the path info portion of the match, or null if there is no portion after the
getPathMatch()
-