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