Package org.jboss.resteasy.client
Class ClientRequestFactory
java.lang.Object
org.jboss.resteasy.client.ClientRequestFactory
Deprecated.
The Resteasy client framework in resteasy-jaxrs is replaced by the JAX-RS 2.0 compliant resteasy-client module.
Helper class that allows you to pre-initialize an Executor, preset some ClientRequest attributes (like follow redirects)
and define some client-side interceptors you want applied
- Version:
- $Revision: 1 $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanDeprecated.private URIDeprecated.private ClientExecutorDeprecated.private booleanDeprecated.private ClientInterceptorRepositoryImplDeprecated.private ResteasyProviderFactoryDeprecated.private ClientInterceptorRepositoryImplDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ClientRequestFactory(URI base) Deprecated.ClientRequestFactory(ClientExecutor executor, URI base) Deprecated.ClientRequestFactory(ClientExecutor executor, ResteasyProviderFactory providerFactory) Deprecated.ClientRequestFactory(ClientExecutor executor, ResteasyProviderFactory providerFactory, URI base) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyInterceptors(ClientInterceptorRepositoryImpl repository) Deprecated.clone()Deprecated.<T> TcreateProxy(Class<T> clazz) Deprecated.<T> TcreateProxy(Class<T> clazz, String baseUri) Deprecated.<T> TcreateProxy(Class<T> clazz, URI baseUri) Deprecated.createRelativeRequest(String uriTemplate) Deprecated.createRequest(String uriTemplate) Deprecated.voidDeprecated.<T> TDeprecated.getBase()Deprecated.Deprecated.<T> TgetRelative(String uriTemplate, Class<T> type, Object... params) Deprecated.Deprecated.private voidinit(ClientExecutor executor, ResteasyProviderFactory providerFactory, URI base) Deprecated.booleanDeprecated.voidDeprecated.voidsetFollowRedirects(boolean followRedirects) Deprecated.
-
Field Details
-
providerFactory
Deprecated. -
executor
Deprecated. -
base
Deprecated. -
applyDefaultInterceptors
private boolean applyDefaultInterceptorsDeprecated. -
followRedirects
private boolean followRedirectsDeprecated. -
prefixInterceptors
Deprecated. -
suffixInterceptors
Deprecated.
-
-
Constructor Details
-
ClientRequestFactory
public ClientRequestFactory()Deprecated. -
ClientRequestFactory
Deprecated. -
ClientRequestFactory
Deprecated. -
ClientRequestFactory
Deprecated. -
ClientRequestFactory
public ClientRequestFactory(ClientExecutor executor, ResteasyProviderFactory providerFactory, URI base) Deprecated. -
ClientRequestFactory
Deprecated.
-
-
Method Details
-
init
Deprecated. -
getBase
Deprecated. -
setBase
Deprecated. -
enableDefaultInterceptors
public void enableDefaultInterceptors()Deprecated. -
getPrefixInterceptors
Deprecated. -
getSuffixInterceptors
Deprecated. -
isFollowRedirects
public boolean isFollowRedirects()Deprecated. -
setFollowRedirects
public void setFollowRedirects(boolean followRedirects) Deprecated. -
applyInterceptors
Deprecated. -
clone
Deprecated. -
createRelativeRequest
Deprecated. -
createRequest
Deprecated. -
getRelative
Deprecated.- Throws:
Exception
-
get
Deprecated.- Throws:
Exception
-
createProxy
Deprecated. -
createProxy
Deprecated. -
createProxy
Deprecated.
-