Uses of Interface
org.refcodes.rest.RestClient
-
-
Uses of RestClient in org.refcodes.rest
Subinterfaces of RestClient in org.refcodes.rest Modifier and Type Interface Description interface
HttpDiscoveryRestClient<B extends HttpDiscoveryRestClient<B>>
TheHttpDiscoveryRestClient
provides additional functionality for registering at and signing off from a service discovery service in order to resolve URLs to or from other services.interface
HttpRestClient
Extends aRestClient
to be capable of providing a User-Agent withUserAgentAccessor.UserAgentMutator.setUserAgent(String)
(HttpRestClient.withUserAgent(String)
) and to be capable of using base URLs to be set withBaseUrlAccessor.BaseUrlMutator.setBaseUrl(String)
(HttpRestClient.withBaseUrl(String)
).interface
LoopbackRestClient
Extends aRestClient
to be used as loopback device e.g. for testing purposes such as testing yourRestResponseConsumer
implementations.Classes in org.refcodes.rest that implement RestClient Modifier and Type Class Description class
AbstractHttpDiscoveryRestClientDecorator<B extends HttpDiscoveryRestClient<B>>
Abstract class for easily decorating aHttpDiscoveryRestClient
.class
AbstractHttpRestClientDecorator<B extends HttpRestClient>
Abstract class for easily decorating aHttpRestClient
.class
AbstractRestClient
Abstract base implementation of theRestClient
interface being the foundation for variousRestClient
implementations such asHttpRestClientImpl
orLoopbackRestClientImpl
.class
HttpRestClientImpl
TheHttpRestClientImpl
implements theHttpRestClient
interface.class
HttpRestClientSingleton
The singleton of theHttpRestClientImpl
for easyHttpRestClient
access.class
LoopbackRestClientImpl
Implementation if theLoopbackRestClient
for easy testing of your requests being issued with aRestClient
(LoopbackRestClientImpl
) and the according responselambda
expressions.class
LoopbackRestClientSingleton
The singleton of theLoopbackRestClientImpl
for easyLoopbackRestClientImpl
access.Methods in org.refcodes.rest with parameters of type RestClient Modifier and Type Method Description RestRequest
RestRequest. build(RestClient aRestClient)
This is a convenience method for easily instantiating the according builder.RestRequestBuilder
RestRequestBuilder. build(RestClient aRestClient)
This is a convenience method for easily instantiating the according builder.static RestResponseHandler
RestResponseHandler. build(RestClient aRestClient)
This is a convenience method for easily instantiating the according builder.RestResponseResult
RestResponseResult. build(RestClient aRestClient)
This is a convenience method for easily instantiating the according builder.Constructors in org.refcodes.rest with parameters of type RestClient Constructor Description RestRequest(RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequest(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, Object aRequest, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, int aRedirectDepth, RestClient aRestClient)
Instantiates a new rest request builder impl.RestRequestBuilder(org.refcodes.web.HttpMethod aHttpMethod, org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestClient aRestClient)
Instantiates a new rest request builder impl.RestResponseEvent(RestResponse aRestResponse, RestClient 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, RestClient aRestClient)
Constructs aRestResponseEvent
with all required attributes.
-