Class ReprEntityGetter.ReprClassEntityGetter
- java.lang.Object
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter
-
- org.restlet.ext.jaxrs.internal.wrappers.params.ReprEntityGetter.ReprClassEntityGetter
-
- All Implemented Interfaces:
ParameterList.ParamGetter
- Enclosing class:
- ReprEntityGetter
static class ReprEntityGetter.ReprClassEntityGetter extends ReprEntityGetter
EntityGetter, if there is a constructor with two arguments: Representation and Class
-
-
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 ReprClassEntityGetter(java.lang.reflect.Constructor<?> constructor, java.lang.Class<?> genClass)
-
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
-
-