Package org.refcodes.rest
Class RestDeleteClientSugar
- java.lang.Object
-
- org.refcodes.rest.RestRequestClientSugar
-
- org.refcodes.rest.RestGetClientSugar
-
- org.refcodes.rest.RestPostClientSugar
-
- org.refcodes.rest.RestPutClientSugar
-
- org.refcodes.rest.RestDeleteClientSugar
-
- Direct Known Subclasses:
HttpRestClientSugar
public class RestDeleteClientSugar extends RestPutClientSugar
Helper class to get the syntactic sugar (from a maintenance point of view) under control. You should actually statically import theHttpRestClientSugar
.
-
-
Constructor Summary
Constructors Constructor Description RestDeleteClientSugar()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestRequestBuilder
buildDelete(String aUrl)
See alsoRestDeleteClient.buildDelete(String)
static RestRequestBuilder
buildDelete(String aUrl, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields)
static RestRequestBuilder
buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestRequestBuilder
buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestRequestBuilder
buildDelete(org.refcodes.net.Url aUrl)
See alsoRestDeleteClient.buildDelete(Url)
static RestRequestBuilder
buildDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aUrl)
See alsoRestDeleteClient.doDelete(String)
static RestResponse
doDelete(String aUrl, Object aRequest)
static RestCallerBuilder
doDelete(String aUrl, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aProtocol, String aHost, String aPath, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields)
static RestResponse
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestCallerBuilder
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(String aUrl, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)
static RestResponse
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseObserver aResponseObserver)
static RestResponse
doDelete(org.refcodes.net.Url aUrl, Object aRequest)
static RestCallerBuilder
doDelete(org.refcodes.net.Url aUrl, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
static RestCallerBuilder
doDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.refcodes.rest.RestGetClientSugar
buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet
-
Methods inherited from class org.refcodes.rest.RestPostClientSugar
buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost
-
Methods inherited from class org.refcodes.rest.RestPutClientSugar
buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, buildPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut, doPut
-
Methods inherited from class org.refcodes.rest.RestRequestClientSugar
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
-
-
-
-
Method Detail
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(Scheme, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(Scheme, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(Scheme, String, String, FormFields, RequestHeaderFields, Object)
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(Scheme, String, String, FormFields, RequestHeaderFields, Object)
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
See alsoRestDeleteClient.buildDelete(String)
- Parameters:
aUrl
- The targeted URL locating the addressed resource.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- Parameters:
aUrl
- The targeted URL locating the addressed resource.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(String, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(String, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
- 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.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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(String, String, String, FormFields, RequestHeaderFields, Object)
- 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.aPath
- The path on 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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(String, String, String, FormFields, RequestHeaderFields, Object)
- 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.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.DELETE
request.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.buildDelete(Url)
- Parameters:
aUrl
- TheUrl
from which to take the URL specific data.- Returns:
- The
RestRequestBuilder
which is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
buildDelete
public static RestRequestBuilder buildDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(Scheme, String, int, String, FormFields, Object, RestResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.doDelete(Scheme, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(Scheme, String, int, String, RequestHeaderFields, RestResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(Scheme, String, String, FormFields, Object, RestResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.
-
doDelete
public static RestResponse doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(Scheme, String, String, RequestHeaderFields, Object, RestResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(Scheme, String, String, RequestHeaderFields, RestResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseObserver aResponseObserver)
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aUrl) throws org.refcodes.net.HttpResponseException, MalformedURLException
See alsoRestDeleteClient.doDelete(String)
- 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.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
See alsoRestDeleteClient.doDelete(String, FormFields, RequestHeaderFields, Object, RestResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver) throws MalformedURLException
- 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- Parameters:
aUrl
- The targeted URL locating the addressed resource.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aUrl, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
- Parameters:
aUrl
- The targeted URL locating the addressed resource.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver) throws MalformedURLException
- Parameters:
aUrl
- The targeted URL locating the addressed resource.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.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.DELETE
request.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws MalformedURLException
- Parameters:
aUrl
- The targeted URL locating the addressed resource.aResponseObserver
- The listener processing a response targeted at thisRestCallerBuilder
.aHeaderFields
- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestCallerBuilder
which is used by your request. - Throws:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(String aUrl, RestResponseObserver aResponseObserver) throws MalformedURLException
- 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:
MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.net.HttpResponseException
- 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
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, int, String, FormFields, Object, RestResponseObserver)
- 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.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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestDeleteClient.doDelete(String, String, int, String, FormFields, RequestHeaderFields, Object)
- 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.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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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.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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
- 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.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
- 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.aRequest
- The body to be sent with the request (e.g. when doing aHttpMethod.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, int, String, RequestHeaderFields, RestResponseObserver)
- 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.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.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, int aPort, String aPath, RestResponseObserver aResponseObserver)
- 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.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath) throws org.refcodes.net.HttpResponseException
- 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.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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, String, FormFields, Object, RestResponseObserver)
- 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.aPath
- The path on 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.aPath
- The path on 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
- 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.aPath
- The path on 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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.aPath
- The path on 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)
- 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.aPath
- The path on 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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseObserver aResponseObserver)
- 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.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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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.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.
-
doDelete
public static RestResponse doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, String, RequestHeaderFields, Object, RestResponseObserver)
- 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.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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, String, RequestHeaderFields, RestResponseObserver)
- 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.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 thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(String aProtocol, String aHost, String aPath, RestResponseObserver aResponseObserver)
- 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.aPath
- The path on the host to which the base destination URL is to point to.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestResponse doDelete(org.refcodes.net.Url aUrl, Object aRequest) throws org.refcodes.net.HttpResponseException, MalformedURLException
- 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.DELETE
request.- Returns:
- The
RestResponse
as of your request. - Throws:
org.refcodes.net.HttpResponseException
- thrown in case of some unexpected response.MalformedURLException
- in case the provided URL is considered being malformed.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.net.Url aUrl, Object aRequest, RestResponseObserver aResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestDeleteClient.doDelete(String, String, String, RequestHeaderFields, Object, RestResponseObserver)
- 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.DELETE
request.aResponseObserver
- The listener processing a response targeted at thisRestCaller
.- Returns:
- The
RestCallerBuilder
which is used by your request.
-
doDelete
public static RestCallerBuilder doDelete(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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.
-
-