Package org.jboss.resteasy.annotations
Annotation Type ClientResponseType
-
@Target(METHOD) @Retention(RUNTIME) @Deprecated public @interface ClientResponseType
Deprecated.This is an annotation that you can add to a RESTEasy client interface that has a return type of Response. You have two options:- use the entityType property to set a Class that will always be returned
- use the entityTypeFactory to determine which Class to use based on a factory that determines which class to use based on logic that uses the headers and status of the result.
- Version:
- $Revision: 1 $
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Class
entityType
Deprecated.java.lang.Class<? extends EntityTypeFactory>
entityTypeFactory
Deprecated.
-
-
-
-
entityTypeFactory
java.lang.Class<? extends EntityTypeFactory> entityTypeFactory
Deprecated.- Default:
- org.jboss.resteasy.client.core.VoidEntityTypeFactory.class
-
-