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 boolean
Deprecated.private URI
Deprecated.private ClientExecutor
Deprecated.private boolean
Deprecated.private ClientInterceptorRepositoryImpl
Deprecated.private ResteasyProviderFactory
Deprecated.private ClientInterceptorRepositoryImpl
Deprecated. -
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 void
applyInterceptors
(ClientInterceptorRepositoryImpl repository) Deprecated.clone()
Deprecated.<T> T
createProxy
(Class<T> clazz) Deprecated.<T> T
createProxy
(Class<T> clazz, String baseUri) Deprecated.<T> T
createProxy
(Class<T> clazz, URI baseUri) Deprecated.createRelativeRequest
(String uriTemplate) Deprecated.createRequest
(String uriTemplate) Deprecated.void
Deprecated.<T> T
Deprecated.getBase()
Deprecated.Deprecated.<T> T
getRelative
(String uriTemplate, Class<T> type, Object... params) Deprecated.Deprecated.private void
init
(ClientExecutor executor, ResteasyProviderFactory providerFactory, URI base) Deprecated.boolean
Deprecated.void
Deprecated.void
setFollowRedirects
(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.
-