Class ReprEntityGetter.ClassReprEntityGetter
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter.ClassReprEntityGetter
-
- All Implemented Interfaces:
ParameterList.ParamGetter
- Enclosing class:
- ReprEntityGetter
static class ReprEntityGetter.ClassReprEntityGetter extends ReprEntityGetter
EntityGetter, if there is a constructor with two arguments: Class and Representation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter
ReprEntityGetter.ClassReprEntityGetter, ReprEntityGetter.DirectReprEntityGetter, ReprEntityGetter.ReprClassEntityGetter, ReprEntityGetter.ReprOnlyEntityGetter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>clazz-
Fields inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter
constr
-
-
Constructor Summary
Constructors Constructor Description ClassReprEntityGetter(java.lang.Class<?> genClass, java.lang.reflect.Constructor<?> constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) RepresentationcreateInstance(Representation entity)-
Methods inherited from class org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter
create, getValue
-
-
-
-
Method Detail
-
createInstance
Representation createInstance(Representation entity) throws java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
createInstancein classReprEntityGetter- Throws:
java.lang.IllegalArgumentExceptionjava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
-