RestGetClientSugar
public class RestRequestClientSugar extends Object
HttpRestClientSugar
.Constructor | Description |
---|---|
RestRequestClientSugar() |
Modifier and Type | Method | Description |
---|---|---|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static 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) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static 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) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static 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) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl) |
|
static RestRequestBuilder |
buildRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
int aPort,
String aPath,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aProtocol,
String aHost,
String aPath,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocator,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aUrl,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort,
String aPath,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
Object aRequest) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static 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) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.FormFields aQueryFields,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest) |
|
static 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) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.data.Scheme aScheme,
String aHost,
String aPath,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
Object aRequest,
RestResponseObserver aResponseObserver) |
|
static RestCallerBuilder |
doRequest(org.refcodes.net.HttpMethod aHttpMethod,
org.refcodes.net.Url aUrl,
org.refcodes.net.RequestHeaderFields aHeaderFields,
RestResponseObserver aResponseObserver) |
|
static RestResponse |
doRequest(RestRequest aRequest) |
public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(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
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
RestRequestClient.buildRequest(HttpMethod, Scheme, String, int, String, FormFields, Object)
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
RestRequestClient.buildRequest(HttpMethod, Scheme, String, int, String, RequestHeaderFields, Object)
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(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
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(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
RestRequestClient.buildRequest(HttpMethod, Scheme, String, String, RequestHeaderFields, Object)
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.RestRequestBuilder
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(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
RestRequestClient.buildRequest(HttpMethod, String, FormFields, RequestHeaderFields, Object)
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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.RestRequestBuilder
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(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
RestRequestClient.buildRequest(HttpMethod, String, String, int, String, FormFields, Object)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(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
RestRequestClient.buildRequest(HttpMethod, String, String, int, String, RequestHeaderFields, Object)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
RestRequestClient.buildRequest(HttpMethod, String, String, String, RequestHeaderFields, Object)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException
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.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestRequestBuilder buildRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
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
which is used to prepare and
synchronously issue the request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
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.public static 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
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.public static 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
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.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
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.public static 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
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
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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)
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 your request.public static 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)
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 your request.public static 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
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, Scheme, String, int, String, Object, RestResponseObserver)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
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.public static 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
RestRequestClient.doRequest(HttpMethod, Scheme, String, int, String, RequestHeaderFields, Object)
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.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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)
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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
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.public static 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
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.public static 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
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.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
RestRequestClient.doRequest(HttpMethod, Scheme, String, String, FormFields, RequestHeaderFields)
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.public static 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
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
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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)
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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, Scheme, String, String, FormFields, RestResponseObserver)
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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, Scheme, String, String, Object, RestResponseObserver)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
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.public static 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
RestRequestClient.doRequest(HttpMethod, Scheme, String, String, RequestHeaderFields, Object)
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.public static 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)
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseObserver aResponseObserver)
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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static 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
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.public static 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
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
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.public static 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
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
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 your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver) throws MalformedURLException
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 your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
RestRequestClient.doRequest(HttpMethod, String, RequestHeaderFields, Object, RestResponseObserver)
*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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
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 your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aUrl, RestResponseObserver aResponseObserver) throws MalformedURLException
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 your request.MalformedURLException
- in case the provided URL is considered
being malformed.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, String, String, int, String, Object, RestResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
RestRequestClient.doRequest(HttpMethod, String, String, int, String, RequestHeaderFields, Object)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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
RestRequestClient.doRequest(HttpMethod, String, String, String, FormFields, RequestHeaderFields)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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
as of your request.org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.public static 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)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static 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)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, String, String, String, FormFields, RestResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, String, String, String, Object, RestResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static 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
RestRequestClient.doRequest(HttpMethod, String, String, String, RequestHeaderFields, Object)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at
this RestCallerBuilder
.RestCallerBuilder
which is used by your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, String aProtocol, String aHost, String aPath, RestResponseObserver aResponseObserver)
aHttpMethod
- The HTTP-Method for the request.aProtocol
- The protocolaHost
- 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 your request.public static RestResponse doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
aHttpMethod
- The HTTP-Method for the request.aUrl
- The Url
from which to take the URL specific data.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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, Object aRequest, RestResponseObserver aResponseObserver)
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
RestRequestClient.doRequest(HttpMethod, Url, RequestHeaderFields, Object, RestResponseObserver)
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.public static RestCallerBuilder doRequest(org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
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.public static RestResponse doRequest(RestRequest aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
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.Copyright © 2018. All rights reserved.