public class ClientInvoker extends ClientInterceptorRepositoryImpl implements MethodInvoker
ClientInterceptorRepositoryImpl.InterceptorType
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 UriBuilderImpl |
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, setReaderInterceptors, setWriterInterceptors, setWriterInterceptors
protected ResteasyProviderFactory providerFactory
protected String httpMethod
protected UriBuilderImpl 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 © 2018 JBoss by Red Hat. All rights reserved.