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 RxInvokerProvider<?> |
rxInvokerProvider |
protected SyncInvoker |
syncInvoker |
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() |
SyncInvoker |
getSyncInvoker() |
Object |
invoke(Object[] args) |
protected Object |
invokeAsync(Object[] args) |
protected Object |
invokeSync(Object[] args) |
boolean |
isFollowRedirects() |
void |
setFollowRedirects(boolean followRedirects) |
void |
setHttpMethod(String httpMethod) |
void |
setSyncInvoker(SyncInvoker syncInvoker) |
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
protected RxInvokerProvider<?> rxInvokerProvider
protected SyncInvoker syncInvoker
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()
public SyncInvoker getSyncInvoker()
public void setSyncInvoker(SyncInvoker syncInvoker)
Copyright © 2019 JBoss by Red Hat. All rights reserved.