Uses of Interface
org.refcodes.rest.RestfulClient
-
Uses of RestfulClient in org.refcodes.rest
Modifier and TypeInterfaceDescriptioninterface
Extends aRestfulClient
to be capable of providing a User-Agent withUserAgentAccessor.UserAgentMutator.setUserAgent(String)
(RestfulHttpClient.withUserAgent(String)
) and to be capable of using base URLs to be set withBaseUrlAccessor.BaseUrlMutator.setBaseUrl(String)
(RestfulHttpClient.withBaseUrl(String)
).interface
RestfulHttpDiscoveryClient<B extends RestfulHttpDiscoveryClient<B>>
TheRestfulHttpDiscoveryClient
provides additional functionality for registering at and signing off from a service discovery service in order to resolve URLs to or from other services.Modifier and TypeClassDescriptionclass
Abstract base implementation of theRestfulClient
interface being the foundation for variousRestfulClient
implementations such asHttpRestClient
orLoopbackRestClient
.class
Abstract class for easily decorating aRestfulHttpClient
.class
Abstract class for easily decorating aRestfulHttpDiscoveryClient
.class
TheHttpRestClient
implements theRestfulHttpClient
interface.class
The singleton of theHttpRestClient
for easyRestfulHttpClient
access.class
Implements theRestfulClient
interface to be used as loopback device e.g. for testing purposes such as testing yourRestResponseConsumer
implementations.class
The singleton of theLoopbackRestClient
for easyLoopbackRestClient
access.Modifier and TypeMethodDescriptionRestRequest.build
(RestfulClient aRestClient) This is a convenience method for easily instantiating the according builder.RestRequestBuilder.build
(RestfulClient aRestClient) This is a convenience method for easily instantiating the according builder.static RestResponseHandler
RestResponseHandler.build
(RestfulClient aRestClient) This is a convenience method for easily instantiating the according builder.RestResponseResult.build
(RestfulClient aRestClient) This is a convenience method for easily instantiating the according builder.ModifierConstructorDescriptionprotected
RestRequest
(RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequest
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, int aRedirectDepth, RestfulClient aRestClient) Instantiates a new rest request builder impl.protected
RestRequestBuilder
(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestfulClient aRestClient) Instantiates a new rest request builder impl.RestResponseEvent
(RestResponse aRestResponse, RestfulClient aRestClient) Constructs aRestResponseEvent
with all required attributes.RestResponseEvent
(org.refcodes.web.Url aUrl, InetSocketAddress aLocalAddress, InetSocketAddress aRemoteAddress, org.refcodes.web.HttpStatusCode aHttpStatusCode, org.refcodes.web.ResponseHeaderFields aHeaderFields, InputStream aHttpInputStream, RestfulClient aRestClient) Constructs aRestResponseEvent
with all required attributes.