public class ClientInvoker extends java.lang.Object implements MethodInvoker
Modifier and Type | Field and 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 and Description |
---|
ClientInvoker(ResteasyWebTarget parent,
java.lang.Class<?> declaring,
java.lang.reflect.Method method,
ProxyConfig config) |
Modifier and Type | Method and 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) |
protected java.lang.String httpMethod
protected java.lang.reflect.Method method
protected java.lang.Class<?> declaring
protected javax.ws.rs.core.MediaType accepts
protected java.lang.Object[] processors
protected ResteasyWebTarget webTarget
protected boolean followRedirects
protected EntityExtractor extractor
protected DefaultEntityExtractorFactory entityExtractorFactory
protected ClientConfiguration invokerConfig
public ClientInvoker(ResteasyWebTarget parent, java.lang.Class<?> declaring, java.lang.reflect.Method method, ProxyConfig config)
public javax.ws.rs.core.MediaType getAccepts()
public java.lang.reflect.Method getMethod()
public java.lang.Class<?> getDeclaring()
public java.lang.Object invoke(java.lang.Object[] args)
invoke
in interface MethodInvoker
protected ClientInvocation createRequest(java.lang.Object[] args)
public java.lang.String getHttpMethod()
public void setHttpMethod(java.lang.String httpMethod)
public boolean isFollowRedirects()
public void setFollowRedirects(boolean followRedirects)
public void followRedirects()