- All Superinterfaces:
RestRequestClient
,RestRequestHandler
- All Known Subinterfaces:
HttpDiscoveryRestClient<B>
,HttpRestClient
,LoopbackRestClient
,RestClient
- All Known Implementing Classes:
AbstractHttpDiscoveryRestClientDecorator
,AbstractHttpRestClientDecorator
,AbstractRestClient
,HttpRestClientImpl
,HttpRestClientSingleton
,LoopbackRestClientImpl
,LoopbackRestClientSingleton
Helper interface to keep the huge amount of convenience methods under
control.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.web.Url aUrl) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.web.Url aUrl) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aUrl, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.web.Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseResult
onGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseResult
onGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.default RestResponseHandler
onGet
(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request.Methods inherited from interface org.refcodes.rest.RestRequestClient
buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse
-
Method Details
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
default RestRequestBuilder buildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) including the specific part (such as "//" for "http://") to be used for the destination URL: For HTTP, provide "http://", for HTTPS, provide "https://".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.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildGet
default RestRequestBuilder buildGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) Prepares a GET request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aUrl) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
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.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.web.Url aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
doGet
default RestResponse doGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException Sends a GET request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
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 aHttpMethod.GET
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.web.HttpResponseException
- thrown in case of some unexpected response.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
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.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aUrl, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.web.Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
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 aHttpMethod.GET
request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseHandler onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a GET request with the common attributes and returns the accordingRestResponseHandler
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()
on the returnedRestResponseHandler
as theRestResponseHandler
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseConsumer
- The listener processing a response targeted at thisRestResponseHandler
.- Returns:
- The
RestResponseHandler
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(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.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
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.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
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.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..- Returns:
- The
RestResponseResult
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
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 aHttpMethod.GET
request.- Returns:
- The
RestResponseResult
which is used by your request.
-
onGet
default RestResponseResult onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) Creates a GET request with the common attributes and returns the accordingRestResponseResult
instance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()
on the returnedRestResponseResult
as theRestResponseResult
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResult
which is used by your request.
-