Class ParameterList.PathParamGetter
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.EncParamGetter
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.PathParamGetter
-
- All Implemented Interfaces:
ParameterList.ParamGetter
- Enclosing class:
- ParameterList
static class ParameterList.PathParamGetter extends ParameterList.EncParamGetter
-
-
Field Summary
Fields Modifier and Type Field Description private javax.ws.rs.PathParampathParam-
Fields inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
collType, convertTo, defaultValue, isArray, tlContext
-
-
Constructor Summary
Constructors Constructor Description PathParamGetter(javax.ws.rs.PathParam pathParam, javax.ws.rs.DefaultValue defaultValue, java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, boolean leaveEncoded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private javax.ws.rs.core.PathSegmentcreatePathSegment(java.lang.String pathSegmentEnc)Creates aPathSegment.java.lang.ObjectgetParamValue()-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.EncParamGetter
decoding
-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
convertParamValue, convertParamValue, convertParamValues, createColl, getParamValueForPrimitive, getValue, unmodifiable
-
-
-
-
Constructor Detail
-
PathParamGetter
PathParamGetter(javax.ws.rs.PathParam pathParam, javax.ws.rs.DefaultValue defaultValue, java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, boolean leaveEncoded) throws IllegalPathParamTypeException- Throws:
IllegalPathParamTypeException
-
-
Method Detail
-
createPathSegment
private javax.ws.rs.core.PathSegment createPathSegment(java.lang.String pathSegmentEnc) throws java.lang.IllegalArgumentExceptionCreates aPathSegment.- Parameters:
pathSegmentEnc-- Returns:
- Throws:
java.lang.IllegalArgumentException
-
getParamValue
public java.lang.Object getParamValue()
- Specified by:
getParamValuein classParameterList.AbstractParamGetter- Returns:
- the concrete value of this parameter for the current request.
-
-