Package org.refcodes.rest
Class RestPostClientSugar
- java.lang.Object
-
- org.refcodes.rest.RestRequestClientSugar
-
- org.refcodes.rest.RestGetClientSugar
-
- org.refcodes.rest.RestPostClientSugar
-
- Direct Known Subclasses:
RestPutClientSugar
public class RestPostClientSugar extends RestGetClientSugar
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 RestPostClientSugar()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestRequestBuilderbuildPost(java.lang.String aUrl)See alsoRestPostClient.buildPost(String)static RestRequestBuilderbuildPost(java.lang.String aUrl, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields)static RestRequestBuilderbuildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestRequestBuilderbuildPost(org.refcodes.net.Url aUrl)See alsoRestPostClient.buildPost(Url)static RestRequestBuilderbuildPost(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aUrl)See alsoRestPostClient.doPost(String)static RestResponsedoPost(java.lang.String aUrl, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields)static RestResponsedoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)static RestResponsedoPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(java.lang.String aUrl, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields)static RestResponsedoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, RestResponseObserver aResponseObserver)static RestResponsedoPost(org.refcodes.net.Url aUrl, java.lang.Object aRequest)See alsoRestPostClient.doPost(Url, Object)static RestCallerBuilderdoPost(org.refcodes.net.Url aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)static RestCallerBuilderdoPost(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.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
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.buildPost(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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.buildPost(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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aUrl) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
See alsoRestPostClient.buildPost(String)- Parameters:
aUrl- The targeted URL locating the addressed resource.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, java.net.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aUrl, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.buildPost(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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.buildPost(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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.net.Url aUrl) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.buildPost(Url)- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
buildPost
public static RestRequestBuilder buildPost(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.doPost(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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.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.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(Scheme, String, String, FormFields, 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.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, 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.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aUrl) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
See alsoRestPostClient.doPost(String)- Parameters:
aUrl- The targeted URL locating the addressed resource.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields) throws org.refcodes.net.HttpResponseException, java.net.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
See alsoRestPostClient.doPost(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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws java.net.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
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aLocator, org.refcodes.net.FormFields aQueryFields, RestResponseObserver aResponseObserver) throws java.net.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
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aUrl, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.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.POSTrequest.- Returns:
- The
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver) throws java.net.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.POSTrequest.- Returns:
- The
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver) throws java.net.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
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aUrl, RestResponseObserver aResponseObserver) throws java.net.MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aResponseObserver- The listener processing a response targeted at thisRestCallerBuilder.- Returns:
- The
RestCallerBuilderwhich is used by your request. - Throws:
java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
See alsoRestPostClient.doPost(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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- 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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- 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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, java.lang.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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- 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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, java.lang.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.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields) throws org.refcodes.net.HttpResponseException
- 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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- 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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.FormFields aQueryFields, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(String, String, String, FormFields, 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.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, java.lang.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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestResponse doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException
- 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.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(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.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, 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.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(java.lang.String aProtocol, java.lang.String aHost, java.lang.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
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestResponse doPost(org.refcodes.net.Url aUrl, java.lang.Object aRequest) throws org.refcodes.net.HttpResponseException, java.net.MalformedURLException
See alsoRestPostClient.doPost(Url, Object)- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.net.HttpResponseException- thrown in case of some unexpected response.java.net.MalformedURLException- in case the provided URL is considered being malformed.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.net.Url aUrl, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, java.lang.Object aRequest, RestResponseObserver aResponseObserver)
See alsoRestPostClient.doPost(String, String, String, RequestHeaderFields, Object, RestResponseObserver)- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.POSTrequest.aResponseObserver- The listener processing a response targeted at thisRestCaller.- Returns:
- The
RestCallerBuilderwhich is used by your request.
-
doPost
public static RestCallerBuilder doPost(org.refcodes.net.Url aUrl, org.refcodes.net.RequestHeaderFields aHeaderFields, RestResponseObserver aResponseObserver)
- Parameters:
aUrl- TheUrlfrom 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
RestCallerBuilderwhich is used by your request.
-
-