Class ResteasyUriInfo.InitData
java.lang.Object
org.jboss.resteasy.specimpl.ResteasyUriInfo.InitData
- Enclosing class:
ResteasyUriInfo
Holds the data that is needed to initialize ResteasyUriInfo
The reason to extract this data into a separate class is that it's expensive
to produce and can be cached under certain circumstances
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canBeCached
(String absoluteUri) The InitData can be cached if it doesn't contain matrix variables which would result in a cache entry per different value of any matrix param Query params are not a problem since there names and values don't affect the production of InitDatastatic String
getCacheKey
(String absoluteUri, String contextPath) List
<jakarta.ws.rs.core.PathSegment> getPath()
List
<jakarta.ws.rs.core.PathSegment> int
int
-
Constructor Details
-
InitData
-
-
Method Details
-
getQueryIdx
public int getQueryIdx() -
getPathStart
public int getPathStart() -
getEncodedPath
-
getPath
-
getEncodedPathSegments
-
getPathSegments
-
getMatchingPath
-
canBeCached
The InitData can be cached if it doesn't contain matrix variables which would result in a cache entry per different value of any matrix param Query params are not a problem since there names and values don't affect the production of InitData -
getCacheKey
-