HttpDiscoveryRestClient<B>
, HttpRestClient
, LoopbackRestClient
, RestClient
, RestDeleteClient
, RestGetClient
, RestPostClient
, RestPutClient
AbstractHttpDiscoveryRestClientDecorator
, AbstractHttpRestClientDecorator
, AbstractRestClient
, HttpRestClientImpl
, HttpRestClientSingleton
, LoopbackRestClientImpl
, LoopbackRestClientSingleton
public interface RestRequestClient
Modifier and Type | Method | Description |
---|---|---|
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Prepares a request builder with the possible attributes and returns the
according request's
RestRequestBuilder instance. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
Creates a request with the possible attributes and returns the according
RestCallerBuilder instance used for the request. |
default RestResponse |
doRequest(RestRequest aRequest) |
Sends a request with the possible attributes and returns the according
request's
RestResponse instance synchronously. |
default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.RestRequestBuilder
which is used to prepare and
synchronously issue the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestRequestBuilder
which is used to prepare and
synchronously issue the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aLocator
- The local targetd locator.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted locator.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.RestRequestBuilder
which is used to prepare and
synchronously issue the request.default RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestRequestBuilder
at this request.RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
RestRequestBuilder
instance. Invoking
RestRequestBuilder.toRestResponse()
starts the request and
synchronously returns the response.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestRequestBuilder
at this request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aScheme
- The Scheme
(e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aLocator
- The targeted locator, usually the part of the URL till
(excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, RestResponseObserver aResponseObserver) throws MalformedURLException
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The targeted URL locating the addressed resource.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.MalformedURLException
- in case the provided URL is considered
being malformed.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to
point to.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aQueryFields
- The Query-Fields to be used for the HTTP
Query-String.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to
point to.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestResponse
instance synchronously.aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing a
HttpMethod.POST
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
RestCallerBuilder
instance used for the request.
The HTTP-Request is actually sent not earlier than you calling
Openable.open()
on the returned
RestCallerBuilder
as the RestCallerBuilder
still may be
modified after invoking this method!aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by the request.default RestResponse doRequest(RestRequest aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
RestResponse
instance synchronously.aRequest
- The RestRequest
encapsulating all necessary
attributes to issue the request.RestResponse
for this request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.Copyright © 2018. All rights reserved.