Uses of Interface
org.refcodes.rest.HttpRestClient
-
-
Uses of HttpRestClient in org.refcodes.rest
Classes in org.refcodes.rest with type parameters of type HttpRestClient Modifier and Type Class Description class
AbstractHttpRestClientDecorator<B extends HttpRestClient>
Abstract class for easily decorating aHttpRestClient
.Subinterfaces of HttpRestClient 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.Classes in org.refcodes.rest that implement HttpRestClient 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
HttpRestClientImpl
TheHttpRestClientImpl
implements theHttpRestClient
interface.class
HttpRestClientSingleton
The singleton of theHttpRestClientImpl
for easyHttpRestClient
access.Methods in org.refcodes.rest that return HttpRestClient Modifier and Type Method Description static HttpRestClient
HttpRestClientSingleton. getInstance()
Returns the singleton's instance as fabricated by thisHttpRestClientSingleton
.HttpRestClient
HttpRestClientImpl. withBaseUrl(java.net.URL aBaseURL)
HttpRestClient
HttpRestClientImpl. withBaseUrl(org.refcodes.net.Url aBaseUrl)
static HttpRestClient
HttpRestClientSugar. withBaseUrl(java.lang.String aBaseUrl)
See alsoBaseUrlAccessor.BaseUrlBuilder.withBaseUrl(String)
static HttpRestClient
HttpRestClientSugar. withBaseUrl(java.net.URL aBaseUrl)
See alsoBaseUrlAccessor.BaseUrlBuilder.withBaseUrl(URL)
default HttpRestClient
HttpRestClient. withDisableRequestCorrelation()
default HttpRestClient
HttpRestClient. withDisableSessionCorrelation()
default HttpRestClient
HttpRestClient. withEnableRequestCorrelation()
default HttpRestClient
HttpRestClient. withEnableSessionCorrelation()
HttpRestClient
HttpRestClientImpl. withOAuthToken(org.refcodes.net.OauthToken aOauthToken)
default HttpRestClient
HttpRestClient. withRequestCorrelation(boolean hasRequestCorrelation)
default HttpRestClient
HttpRestClient. withSessionCorrelation(boolean hasSessionCorrelation)
default HttpRestClient
HttpRestClient. withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
default HttpRestClient
HttpRestClient. withUserAgent(java.lang.String aUserAgent)
static HttpRestClient
HttpRestClientSugar. withUserAgent(java.lang.String aUserAgent)
See alsowithUserAgent(String)
Constructors in org.refcodes.rest with parameters of type HttpRestClient Constructor Description AbstractHttpDiscoveryRestClientDecorator(HttpRestClient aClient)
Decorates the givenHttpRestClient
with discovery functionality.AbstractHttpRestClientDecorator(HttpRestClient aClient)
Decorates the givenHttpRestClient
.OauthTokenHandler(java.lang.String aUrl, HttpRestClient aHttpRestClient, java.lang.String aAccessToken, java.lang.String aRefreshToken, java.lang.String aTokenType, java.lang.Integer aExpiresIn, java.lang.String aScope)
Constructs an instance of theOauthTokenHandler
with the given parameters.OauthTokenHandler(java.lang.String aUrl, HttpRestClient aHttpRestClient, java.lang.String aClientId, java.lang.String aClientSecret, java.lang.String aUserName, java.lang.String aUserPassword)
Constructs an instance of theOauthTokenHandler
with the given parameters by using the user's name and password for a "password" grant type authentication to retrieve aOauthToken
.OauthTokenHandler(java.lang.String aUrl, HttpRestClient aHttpRestClient, org.refcodes.net.OauthToken aOauthToken)
Constructs an instance of theOauthTokenHandler
with the given parameters.OauthTokenHandler(org.refcodes.net.Url aUrl, HttpRestClient aHttpRestClient, java.lang.String aAccessToken, java.lang.String aRefreshToken, java.lang.String aTokenType, java.lang.Integer aExpiresIn, java.lang.String aScope)
Constructs an instance of theOauthTokenHandler
with the given parameters.OauthTokenHandler(org.refcodes.net.Url aUrl, HttpRestClient aHttpRestClient, java.lang.String aClientId, java.lang.String aClientSecret, java.lang.String aUserName, java.lang.String aUserPassword)
Constructs an instance of theOauthTokenHandler
with the given parameters by using the user's name and password for a "password" grant type authentication to retrieve aOauthToken
.OauthTokenHandler(org.refcodes.net.Url aUrl, HttpRestClient aHttpRestClient, org.refcodes.net.HttpBodyMap aOauthToken)
Constructs an instance of theOauthTokenHandler
with the given parameters.OauthTokenHandler(org.refcodes.net.Url aUrl, HttpRestClient aHttpRestClient, org.refcodes.net.OauthToken aOauthToken)
Constructs an instance of theOauthTokenHandler
with the given parameters.
-