Class EntityGetter
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.params.EntityGetter
-
- All Implemented Interfaces:
ParameterList.ParamGetter
@Deprecated public class EntityGetter extends java.lang.Object implements ParameterList.ParamGetter
Deprecated.Will be removed in next minor release.An EntityGetter converts the given entity from the request to the type requested by the resource method.
This class is not used, if a subclass ofRepresentationis requested, seeReprEntityGetterand its subclasses.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.annotation.Annotation[]annotationsDeprecated.protected java.lang.Class<?>convToClDeprecated.The class to convert to, directly as the type in the parameter list.private java.lang.reflect.TypeconvToGenDeprecated.private MessageBodyReaderSetmbrsDeprecated.protected ThreadLocalizedContexttlContextDeprecated.
-
Constructor Summary
Constructors Constructor Description EntityGetter(java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, MessageBodyReaderSet mbrs, java.lang.annotation.Annotation[] annotations)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.ObjectgetValue()Deprecated.Returns the value for this param.
-
-
-
Field Detail
-
annotations
private final java.lang.annotation.Annotation[] annotations
Deprecated.
-
convToCl
protected volatile java.lang.Class<?> convToCl
Deprecated.The class to convert to, directly as the type in the parameter list.
-
convToGen
private final java.lang.reflect.Type convToGen
Deprecated.
-
mbrs
private final MessageBodyReaderSet mbrs
Deprecated.
-
tlContext
protected final ThreadLocalizedContext tlContext
Deprecated.
-
-
Constructor Detail
-
EntityGetter
EntityGetter(java.lang.Class<?> convToCl, java.lang.reflect.Type convToGen, ThreadLocalizedContext tlContext, MessageBodyReaderSet mbrs, java.lang.annotation.Annotation[] annotations)Deprecated.
-
-
Method Detail
-
getValue
public java.lang.Object getValue() throws ConvertRepresentationException, java.lang.reflect.InvocationTargetExceptionDeprecated.Description copied from interface:ParameterList.ParamGetterReturns the value for this param.- Specified by:
getValuein interfaceParameterList.ParamGetter- Returns:
- the value for this param.
- Throws:
ConvertRepresentationExceptionjavax.ws.rs.WebApplicationExceptionNoMessageBodyReaderExceptionjava.lang.reflect.InvocationTargetException- See Also:
IntoRrcInjector.AbstractInjectObjectGetter#getValue(String)
-
-