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.MediaTypeacceptsprotected java.lang.Class<?>declaringprotected DefaultEntityExtractorFactoryentityExtractorFactoryprotected EntityExtractorextractorprotected booleanfollowRedirectsprotected java.lang.StringhttpMethodprotected ClientConfigurationinvokerConfigprotected java.lang.reflect.Methodmethodprotected java.lang.Object[]processorsprotected ResteasyWebTargetwebTarget
-
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 ClientInvocationcreateRequest(java.lang.Object[] args)voidfollowRedirects()javax.ws.rs.core.MediaTypegetAccepts()java.lang.Class<?>getDeclaring()java.lang.StringgetHttpMethod()java.lang.reflect.MethodgetMethod()java.lang.Objectinvoke(java.lang.Object[] args)booleanisFollowRedirects()voidsetFollowRedirects(boolean followRedirects)voidsetHttpMethod(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:
invokein 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()
-
-