Modifier and Type | Interface and Description |
---|---|
interface |
HttpRestClient
Extends a
RestClient to be capable of providing a User-Agent with
UserAgentAccessor.UserAgentMutator.setUserAgent(String) (HttpRestClient.withUserAgent(String) ) and to be
capable of using base URLs to be set with BaseUrlAccessor.BaseUrlMutator.setBaseUrl(String) (
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(String) ). |
interface |
LoopbackRestClient
Extends a
RestClient to be used as loopback device e.g. for testing
purposes such as testing your RestResponseObserver implementations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRestClient
Abstract base implementation of the
RestClient interface being the
foundation for various RestClient implementations such as
HttpRestClientImpl or LoopbackRestClientImpl . |
class |
HttpRestClientImpl
The
HttpRestClientImpl implements the HttpRestClient
interface. |
class |
HttpRestClientSingleton
The singleton of the
HttpRestClientImpl for easy
HttpRestClient access. |
class |
LoopbackRestClientImpl
Implementation if the
LoopbackRestClient for easy testing of your
requests being issued with a RestClient (HttpRestClient ) and
the according response lambda expressions. |
class |
LoopbackRestClientSingleton
The singleton of the
LoopbackRestClientImpl for easy
LoopbackRestClientImpl access. |
Modifier and Type | Method and Description |
---|---|
static RestClient |
LoopbackRestClientSingleton.getInstance()
Returns the singleton's instance as fabricated by this
LoopbackRestClientSingleton . |
default RestClient |
RestClient.withDisableRequestCorrelation() |
default RestClient |
RestClient.withDisableSessionCorrelation() |
default RestClient |
RestClient.withEnableRequestCorrelation() |
default RestClient |
RestClient.withEnableSessionCorrelation() |
default RestClient |
RestClient.withRequestCorrelation(boolean hasRequestCorrelation) |
default RestClient |
RestClient.withSessionCorrelation(boolean hasSessionCorrelation) |
default RestClient |
RestClient.withUserAgent(String aUserAgent) |
Constructor and Description |
---|
RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestClient aRestClient)
Instantiates a new rest request builder impl.
|
RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestClient aRestClient)
Instantiates a new rest request builder impl.
|
RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestClient aRestClient)
Instantiates a new rest request builder impl.
|
RestRequestBuilderImpl(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
Object aRequest,
RestClient aRestClient)
Instantiates a new rest request builder impl.
|
RestResponseEventImpl(InetSocketAddress aLocalAddress,
InetSocketAddress aRemoteAddress,
org.refcodes.net.HttpStatusCode aHttpStatusCode,
org.refcodes.net.ResponseHeaderFields aHeaderFields,
InputStream aHttpInputStream,
RestClient aRestClient)
Constructs a
RestResponseEvent with all required attributes. |
RestResponseEventImpl(RestResponse aRestResponse,
RestClient aRestClient)
Constructs a
RestResponseEvent with all required attributes. |
Copyright © 2017. All rights reserved.