Class ParameterList.NoEncParamGetter
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.NoEncParamGetter
-
- All Implemented Interfaces:
ParameterList.ParamGetter
- Direct Known Subclasses:
ParameterList.CookieParamGetter,ParameterList.HeaderParamGetter
- Enclosing class:
- ParameterList
abstract static class ParameterList.NoEncParamGetter extends ParameterList.AbstractParamGetter
Abstract super class for access to the entity or to @*Param where encoded is allowed (@PathParam, @MatrixParamand @QueryParam).
-
-
Field Summary
-
Fields inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
collType, convertTo, defaultValue, isArray, tlContext
-
-
Constructor Summary
Constructors Constructor Description NoEncParamGetter(javax.ws.rs.DefaultValue defaultValue, java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, boolean annoSaysLeaveEncoded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcheckForEncodedAnno(boolean annoSaysLeaveEncoded)Checks if the annotation @Encodedis available on the given field or bean setter.(package private) voidcheckForEncodedAnno(java.lang.reflect.AccessibleObject fieldOrBeanSetter)Checks if the annotation @Encodedis available on the given field or bean setter.protected booleandecoding()-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ParameterList.AbstractParamGetter
convertParamValue, convertParamValue, convertParamValues, createColl, getParamValue, getParamValueForPrimitive, getValue, unmodifiable
-
-
-
-
Constructor Detail
-
NoEncParamGetter
NoEncParamGetter(javax.ws.rs.DefaultValue defaultValue, java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, boolean annoSaysLeaveEncoded)- Parameters:
annoSaysLeaveEncoded- to check if the annotation is available.
-
-
Method Detail
-
checkForEncodedAnno
void checkForEncodedAnno(java.lang.reflect.AccessibleObject fieldOrBeanSetter)
Checks if the annotation @Encodedis available on the given field or bean setter. If yes, a warning is logged.
-
checkForEncodedAnno
void checkForEncodedAnno(boolean annoSaysLeaveEncoded)
Checks if the annotation @Encodedis available on the given field or bean setter. If yes, this method logs a warning.
-
decoding
protected boolean decoding()
- Specified by:
decodingin classParameterList.AbstractParamGetter
-
-