Class ClientInvoker
- java.lang.Object
-
- org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker
-
- All Implemented Interfaces:
MethodInvoker
public class ClientInvoker extends java.lang.Object implements MethodInvoker
- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.ws.rs.core.MediaType
accepts
protected java.lang.Class<?>
declaring
protected DefaultEntityExtractorFactory
entityExtractorFactory
protected EntityExtractor
extractor
protected boolean
followRedirects
protected java.lang.String
httpMethod
protected ClientConfiguration
invokerConfig
protected java.lang.reflect.Method
method
protected java.lang.Object[]
processors
protected ResteasyWebTarget
webTarget
-
Constructor Summary
Constructors Constructor Description ClientInvoker(ResteasyWebTarget parent, java.lang.Class<?> declaring, java.lang.reflect.Method method, ProxyConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientInvocation
createRequest(java.lang.Object[] args)
void
followRedirects()
javax.ws.rs.core.MediaType
getAccepts()
java.lang.Class<?>
getDeclaring()
java.lang.String
getHttpMethod()
java.lang.reflect.Method
getMethod()
java.lang.Object
invoke(java.lang.Object[] args)
boolean
isFollowRedirects()
void
setFollowRedirects(boolean followRedirects)
void
setHttpMethod(java.lang.String httpMethod)
-
-
-
Field Detail
-
httpMethod
protected java.lang.String httpMethod
-
method
protected java.lang.reflect.Method method
-
declaring
protected java.lang.Class<?> declaring
-
accepts
protected javax.ws.rs.core.MediaType accepts
-
processors
protected java.lang.Object[] processors
-
webTarget
protected ResteasyWebTarget webTarget
-
followRedirects
protected boolean followRedirects
-
extractor
protected EntityExtractor extractor
-
entityExtractorFactory
protected DefaultEntityExtractorFactory entityExtractorFactory
-
invokerConfig
protected ClientConfiguration invokerConfig
-
-
Constructor Detail
-
ClientInvoker
public ClientInvoker(ResteasyWebTarget parent, java.lang.Class<?> declaring, java.lang.reflect.Method method, ProxyConfig config)
-
-
Method Detail
-
getAccepts
public javax.ws.rs.core.MediaType getAccepts()
-
getMethod
public java.lang.reflect.Method getMethod()
-
getDeclaring
public java.lang.Class<?> getDeclaring()
-
invoke
public java.lang.Object invoke(java.lang.Object[] args)
- Specified by:
invoke
in interfaceMethodInvoker
-
createRequest
protected ClientInvocation createRequest(java.lang.Object[] args)
-
getHttpMethod
public java.lang.String getHttpMethod()
-
setHttpMethod
public void setHttpMethod(java.lang.String httpMethod)
-
isFollowRedirects
public boolean isFollowRedirects()
-
setFollowRedirects
public void setFollowRedirects(boolean followRedirects)
-
followRedirects
public void followRedirects()
-
-