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 interfaceHttpDiscoveryRestClient<B extends HttpDiscoveryRestClient<B>>TheHttpDiscoveryRestClientprovides additional functionality for registering at and signing off from a service discovery service in order to resolve URLs to or from other services.interfaceHttpRestClientExtends aRestClientto 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)(BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(String)).interfaceLoopbackRestClientExtends aRestClientto be used as loopback device e.g. for testing purposes such as testing yourRestResponseObserverimplementations.Classes in org.refcodes.rest that implement RestClient Modifier and Type Class Description classAbstractHttpDiscoveryRestClientDecorator<B extends HttpDiscoveryRestClient<B>>Abstract class for easily decorating aHttpDiscoveryRestClient.classAbstractHttpRestClientDecorator<B extends HttpRestClient>Abstract class for easily decorating aHttpRestClient.classAbstractRestClientAbstract base implementation of theRestClientinterface being the foundation for variousRestClientimplementations such asHttpRestClientImplorLoopbackRestClientImpl.classHttpRestClientImplTheHttpRestClientImplimplements theHttpRestClientinterface.classHttpRestClientSingletonThe singleton of theHttpRestClientImplfor easyHttpRestClientaccess.classLoopbackRestClientImplImplementation if theLoopbackRestClientfor easy testing of your requests being issued with aRestClient(HttpRestClient) and the according responselambdaexpressions.classLoopbackRestClientSingletonThe singleton of theLoopbackRestClientImplfor easyLoopbackRestClientImplaccess.Methods in org.refcodes.rest that return RestClient Modifier and Type Method Description default RestClientRestClient. withDisableRequestCorrelation()default RestClientRestClient. withDisableSessionCorrelation()default RestClientRestClient. withEnableRequestCorrelation()default RestClientRestClient. withEnableSessionCorrelation()default RestClientRestClient. withRequestCorrelation(boolean hasRequestCorrelation)default RestClientRestClient. withSessionCorrelation(boolean hasSessionCorrelation)default RestClientRestClient. withUserAgent(java.lang.String aUserAgent)Constructors in org.refcodes.rest with parameters of type RestClient Constructor Description RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, int aRedirectDepth, RestClient aRestClient)Instantiates a new rest request builder impl.RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, java.lang.Object aRequest, int aRedirectDepth, RestClient aRestClient)Instantiates a new rest request builder impl.RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, java.lang.Object aRequest, RestClient aRestClient)Instantiates a new rest request builder impl.RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, int aRedirectDepth, RestClient aRestClient)Instantiates a new rest request builder impl.RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestClient aRestClient)Instantiates a new rest request builder impl.RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, RestClient aRestClient)Instantiates a new rest request builder impl.RestResponseEventImpl(java.net.InetSocketAddress aLocalAddress, java.net.InetSocketAddress aRemoteAddress, org.refcodes.net.HttpStatusCode aHttpStatusCode, org.refcodes.net.ResponseHeaderFields aHeaderFields, java.io.InputStream aHttpInputStream, RestClient aRestClient)Constructs aRestResponseEventwith all required attributes.RestResponseEventImpl(RestResponse aRestResponse, RestClient aRestClient)Constructs aRestResponseEventwith all required attributes.
-