Interface PostRestClient
- All Superinterfaces:
RestRequestClient, RestRequestHandler
- All Known Subinterfaces:
HttpRestClient, HttpRestDiscoveryClient<B>, RestClient
- All Known Implementing Classes:
AbstractHttpRestClientDecorator, AbstractHttpRestDiscoveryClientDecorator, AbstractRestClient, JdkHttpRestClient, JdkHttpRestClientSingleton, LoopbackRestClient, LoopbackRestClientSingleton
Helper interface to keep the huge amount of convenience methods under
control.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aLocator, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aLocator, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aUrl, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderPrepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestRequestBuilderbuildPost(Url aUrl, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aLocator, FormFields aQueryFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aLocator, FormFields aQueryFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aUrl, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseSends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Url aUrl, RequestHeaderFields aHeaderFields) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponsedoPost(Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest) Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aUrl, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aLocator, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aLocator, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aLocator, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aLocator, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(String aUrl, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(String aUrl, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultCreates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseResultonPost(Url aUrl, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseResultonPost(Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request.default RestResponseHandleronPost(Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.default RestResponseHandleronPost(Url aUrl, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request.Methods inherited from interface 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
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. InvokingRestRequestBuilder.toRestResponse()starts the request and synchronously returns the response.- Parameters:
aUrl- The targeted URL locating the addressed resource..- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aLocator, FormFields aQueryFields) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aLocator, FormFields aQueryFields, Object aRequest) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aUrl, RequestHeaderFields aHeaderFields) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
default RestRequestBuilder buildPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
default RestRequestBuilder buildPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. InvokingRestRequestBuilder.toRestResponse()starts the request and synchronously returns the response.- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
buildPost
Prepares a POST request builder with the common attributes and returns the according request'sRestRequestBuilderinstance. InvokingRestRequestBuilder.toRestResponse()starts the request and synchronously returns the response.- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- The targeted URL locating the addressed resource..- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aLocator, FormFields aQueryFields) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aLocator, FormFields aQueryFields, Object aRequest) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aUrl, Object aRequest) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- The targeted URL locating the addressed resource..aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aUrl, RequestHeaderFields aHeaderFields) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- The targeted URL locating the addressed resource..aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException, MalformedURLException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Url aUrl, RequestHeaderFields aHeaderFields) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
doPost
default RestResponse doPost(Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest) throws HttpResponseException Sends a POST request with the common attributes and returns the according request'sRestResponseinstance synchronously.- Parameters:
aUrl- TheUrlfrom 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
HttpResponseException- thrown in case of some unexpected response.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aLocator, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aLocator, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aUrl, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aUrl, RestResponseConsumer aResponseConsumer) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Url aUrl, RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom 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.POSTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseHandler onPost(Url aUrl, RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Creates a POST request with the common attributes and returns the accordingRestResponseHandlerinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseHandler.open()on the returnedRestResponseHandleras theRestResponseHandlerstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom 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
RestResponseHandlerwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(Scheme aScheme, String aHost, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aLocator, FormFields aQueryFields, Object aRequest) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aLocator, FormFields aQueryFields, RequestHeaderFields aHeaderFields) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aLocator, FormFields aQueryFields) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aUrl, RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aUrl, RequestHeaderFields aHeaderFields) throws MalformedURLException Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill may be modified after invoking this method!- Parameters:
aUrl- The targeted URL locating the addressed resource..- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, int aPort, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, FormFields aQueryFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields, Object aRequest) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
default RestResponseResult onPost(String aProtocol, String aHost, String aPath, RequestHeaderFields aHeaderFields) Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill 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
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom 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.POSTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPost
Creates a POST request with the common attributes and returns the accordingRestResponseResultinstance used for the request. The HTTP-Request is actually sent not earlier than you callingRestResponseResult.open()on the returnedRestResponseResultas theRestResponseResultstill may be modified after invoking this method!- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-