public class ClientInvoker extends ClientInterceptorRepositoryImpl implements MethodInvoker
Modifier and Type | Field and Description |
---|---|
protected MediaType |
accepts |
protected Map<String,Object> |
attributes |
protected URI |
baseUri |
protected Class |
declaring |
protected ClientExecutor |
executor |
protected EntityExtractor |
extractor |
protected EntityExtractorFactory |
extractorFactory |
protected boolean |
followRedirects |
protected String |
httpMethod |
protected Marshaller[] |
marshallers |
protected Method |
method |
protected ResteasyProviderFactory |
providerFactory |
protected ResteasyUriBuilder |
uri |
Constructor and Description |
---|
ClientInvoker(URI baseUri,
Class declaring,
Method method,
ProxyConfig config) |
ClientInvoker(URI baseUri,
Class declaring,
Method method,
ResteasyProviderFactory providerFactory,
ClientExecutor executor,
EntityExtractorFactory extractorFactory) |
Modifier and Type | Method and Description |
---|---|
protected ClientRequest |
createRequest(Object[] args) |
void |
followRedirects() |
MediaType |
getAccepts() |
Map<String,Object> |
getAttributes() |
Class |
getDeclaring() |
String |
getHttpMethod() |
Method |
getMethod() |
ResteasyProviderFactory |
getProviderFactory() |
Object |
invoke(Object[] args) |
boolean |
isFollowRedirects() |
void |
setFollowRedirects(boolean followRedirects) |
void |
setHttpMethod(String httpMethod) |
copyClientInterceptorsTo, getExecutionInterceptorList, getExecutionInterceptors, getInterceptors, getInterceptors, getReaderInterceptorList, getReaderInterceptors, getWriterInterceptorList, getWriterInterceptors, prefixClientInterceptorsTo, registerInterceptor, setExecutionInterceptors, setExecutionInterceptors, setReaderInterceptors, setWriterInterceptors
protected ResteasyProviderFactory providerFactory
protected String httpMethod
protected ResteasyUriBuilder uri
protected Method method
protected Class declaring
protected MediaType accepts
protected Marshaller[] marshallers
protected ClientExecutor executor
protected boolean followRedirects
protected EntityExtractor extractor
protected EntityExtractorFactory extractorFactory
protected URI baseUri
public ClientInvoker(URI baseUri, Class declaring, Method method, ResteasyProviderFactory providerFactory, ClientExecutor executor, EntityExtractorFactory extractorFactory)
public ClientInvoker(URI baseUri, Class declaring, Method method, ProxyConfig config)
public MediaType getAccepts()
public Method getMethod()
public Class getDeclaring()
public ResteasyProviderFactory getProviderFactory()
public Object invoke(Object[] args)
invoke
in interface MethodInvoker
protected ClientRequest createRequest(Object[] args)
public String getHttpMethod()
public void setHttpMethod(String httpMethod)
public boolean isFollowRedirects()
public void setFollowRedirects(boolean followRedirects)
public void followRedirects()
Copyright © 2019 JBoss by Red Hat. All rights reserved.