public class ClientInvoker extends Object implements MethodInvoker
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.core.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 javax.ws.rs.client.RxInvokerProvider<?> |
rxInvokerProvider |
protected javax.ws.rs.client.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() |
javax.ws.rs.core.MediaType[] |
getAccepts() |
Class<?> |
getDeclaring() |
String |
getHttpMethod() |
Method |
getMethod() |
javax.ws.rs.client.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(javax.ws.rs.client.SyncInvoker syncInvoker) |
protected String httpMethod
protected Method method
protected Class<?> declaring
protected javax.ws.rs.core.MediaType[] accepts
protected Object[] processors
protected ResteasyWebTarget webTarget
protected boolean followRedirects
protected EntityExtractor extractor
protected DefaultEntityExtractorFactory entityExtractorFactory
protected ClientConfiguration invokerConfig
protected javax.ws.rs.client.RxInvokerProvider<?> rxInvokerProvider
protected javax.ws.rs.client.SyncInvoker syncInvoker
public ClientInvoker(ResteasyWebTarget parent, Class<?> declaring, Method method, ProxyConfig config)
public javax.ws.rs.core.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 javax.ws.rs.client.SyncInvoker getSyncInvoker()
public void setSyncInvoker(javax.ws.rs.client.SyncInvoker syncInvoker)
Copyright © 2020 JBoss by Red Hat. All rights reserved.