public class ClientInvoker extends Object implements MethodInvoker
Modifier and Type | Field and Description |
---|---|
protected MediaType |
accepts |
protected Class |
declaring |
protected DefaultEntityExtractorFactory |
entityExtractorFactory |
protected EntityExtractor |
extractor |
protected boolean |
followRedirects |
protected String |
httpMethod |
protected ClientConfiguration |
invokerConfig |
protected Method |
method |
protected Object[] |
processors |
protected ResteasyWebTarget |
webTarget |
Constructor and Description |
---|
ClientInvoker(ResteasyWebTarget parent,
Class declaring,
Method method,
ProxyConfig config) |
Modifier and Type | Method and Description |
---|---|
protected ClientInvocation |
createRequest(Object[] args) |
void |
followRedirects() |
MediaType |
getAccepts() |
Class |
getDeclaring() |
String |
getHttpMethod() |
Method |
getMethod() |
Object |
invoke(Object[] args) |
boolean |
isFollowRedirects() |
void |
setFollowRedirects(boolean followRedirects) |
void |
setHttpMethod(String httpMethod) |
protected String httpMethod
protected Method method
protected Class declaring
protected MediaType accepts
protected Object[] processors
protected ResteasyWebTarget webTarget
protected boolean followRedirects
protected EntityExtractor extractor
protected DefaultEntityExtractorFactory entityExtractorFactory
protected ClientConfiguration invokerConfig
public ClientInvoker(ResteasyWebTarget parent, Class declaring, Method method, ProxyConfig config)
public MediaType getAccepts()
public Method getMethod()
public Class getDeclaring()
public Object invoke(Object[] args)
invoke
in interface MethodInvoker
protected ClientInvocation createRequest(Object[] args)
public String getHttpMethod()
public void setHttpMethod(String httpMethod)
public boolean isFollowRedirects()
public void setFollowRedirects(boolean followRedirects)
public void followRedirects()
Copyright © 2016 JBoss by Red Hat. All rights reserved.