org.jboss.resteasy.client.core
Class ClientInvoker
java.lang.Object
org.jboss.resteasy.client.core.ClientInterceptorRepositoryImpl
org.jboss.resteasy.client.core.ClientInvoker
- All Implemented Interfaces:
- ClientInterceptorRepository, MethodInvoker
public class ClientInvoker
- extends ClientInterceptorRepositoryImpl
- implements MethodInvoker
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class org.jboss.resteasy.client.core.ClientInterceptorRepositoryImpl |
copyClientInterceptorsTo, getExecutionInterceptorList, getExecutionInterceptors, getInterceptors, getInterceptors, getReaderInterceptorList, getReaderInterceptors, getWriterInterceptorList, getWriterInterceptors, prefixClientInterceptorsTo, registerInterceptor, setExecutionInterceptors, setExecutionInterceptors, setReaderInterceptors, setReaderInterceptors, setWriterInterceptors, setWriterInterceptors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
providerFactory
protected ResteasyProviderFactory providerFactory
httpMethod
protected String httpMethod
uri
protected UriBuilderImpl uri
method
protected Method method
declaring
protected Class declaring
accepts
protected MediaType accepts
marshallers
protected Marshaller[] marshallers
executor
protected ClientExecutor executor
followRedirects
protected boolean followRedirects
extractor
protected EntityExtractor extractor
extractorFactory
protected EntityExtractorFactory extractorFactory
baseUri
protected URI baseUri
attributes
protected Map<String,Object> attributes
ClientInvoker
public ClientInvoker(URI baseUri,
Class declaring,
Method method,
ResteasyProviderFactory providerFactory,
ClientExecutor executor,
EntityExtractorFactory extractorFactory)
ClientInvoker
public ClientInvoker(URI baseUri,
Class declaring,
Method method,
ProxyConfig config)
getAttributes
public Map<String,Object> getAttributes()
getAccepts
public MediaType getAccepts()
getMethod
public Method getMethod()
getDeclaring
public Class getDeclaring()
getProviderFactory
public ResteasyProviderFactory getProviderFactory()
invoke
public Object invoke(Object[] args)
- Specified by:
invoke
in interface MethodInvoker
createRequest
protected ClientRequest createRequest(Object[] args)
getHttpMethod
public String getHttpMethod()
setHttpMethod
public void setHttpMethod(String httpMethod)
isFollowRedirects
public boolean isFollowRedirects()
setFollowRedirects
public void setFollowRedirects(boolean followRedirects)
followRedirects
public void followRedirects()
Copyright © 2012. All Rights Reserved.