Package org.refcodes.rest
Interface RestPutClient
-
- All Superinterfaces:
RestRequestClient
- All Known Subinterfaces:
HttpDiscoveryRestClient<B>
,HttpRestClient
,LoopbackRestClient
,RestClient
- All Known Implementing Classes:
AbstractHttpDiscoveryRestClientDecorator
,AbstractHttpRestClientDecorator
,AbstractRestClient
,HttpRestClientImpl
,HttpRestClientSingleton
,LoopbackRestClientImpl
,LoopbackRestClientSingleton
public interface RestPutClient extends RestRequestClient
Helper interface to keep the huge amount of convenience methods under control.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RestRequestBuilder
buildPut(java.lang.String aUrl)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aUrl, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.net.Url aUrl)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestRequestBuilder
buildPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance.default RestResponse
doPut(java.lang.String aUrl)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aUrl, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(java.lang.String aUrl, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.net.Url aUrl)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.net.Url aUrl, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.net.Url aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestResponse
doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestResponse
doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.default RestCallerBuilder
doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.default RestCallerBuilder
doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request.-
Methods inherited from interface org.refcodes.rest.RestRequestClient
buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, buildRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, doRequest, 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
-
-
-
-
Method Detail
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aUrl) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aUrl, java.lang.Object aRequest) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws java.net.MalformedURLException
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) including the specific part (such as "//" for "http://") to be used for the destination URL: For HTTP, provide "http://", for HTTPS, provide "https://".aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.net.Url aUrl)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
buildPut
default RestRequestBuilder buildPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
Prepares a PUT request builder with the common attributes and returns the according request'sRestRequestBuilder
instance. InvokingRestRequestBuilder.toRestResponse()
starts the request and synchronously returns the response.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aUrl) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aLocator
- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment..aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aUrl, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestCallerBuilder doPut(java.lang.String aUrl, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- The targeted URL locating the addressed resource..aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.net.Url aUrl, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.net.Url aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestResponse doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestResponse doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
Sends a PUT request with the common attributes and returns the according request'sRestResponse
instance synchronously.- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doPut
default RestCallerBuilder doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.PUT
request.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doPut
default RestCallerBuilder doPut(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
Creates a PUT request with the common attributes and returns the accordingRestCallerBuilder
instance used for the request. The HTTP-Request is actually sent not earlier than you callingOpenable.open()
on the returnedRestCallerBuilder
as theRestCallerBuilder
still may be modified after invoking this method!- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.aHeaderFields
- The HTTP-Header's fields to be used for the request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
-