- java.lang.Object
-
- org.refcodes.rest.RestRequestClientSugar
-
- org.refcodes.rest.RestGetClientSugar
-
- Direct Known Subclasses:
RestPostClientSugar
public class RestGetClientSugar extends RestRequestClientSugar
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 RestGetClientSugar()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RestRequestBuilderbuildGet(String aUrl)See alsoRestGetClient.buildGet(String)static RestRequestBuilderbuildGet(String aUrl, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(String aLocator, org.refcodes.web.FormFields aQueryFields)static RestRequestBuilderbuildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestRequestBuilderbuildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestRequestBuilderbuildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestRequestBuilderbuildGet(org.refcodes.web.Url aUrl)See alsoRestGetClient.buildGet(Url)static RestRequestBuilderbuildGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aUrl)See alsoRestGetClient.doGet(String)static RestResponsedoGet(String aUrl, Object aRequest)See alsoRestGetClient.doGet(String, Object)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, String aPath)static RestResponsedoGet(String aProtocol, String aHost, String aPath, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(String aLocator, org.refcodes.web.FormFields aQueryFields)static RestResponsedoGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponsedoGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponsedoGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponsedoGet(org.refcodes.web.Url aUrl, Object aRequest)See alsoRestGetClient.doGet(Url, Object)static RestResponseResultonGet(String aUrl)See alsoRestGetClient.onGet(String)static RestResponseResultonGet(String aUrl, Object aRequest)See alsoRestGetClient.onGet(String, Object)static RestResponseHandleronGet(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, String aPath)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aUrl, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aLocator, org.refcodes.web.FormFields aQueryFields)static RestResponseResultonGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponseHandleronGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aLocator, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.web.Url aUrl, Object aRequest)See alsoRestGetClient.onGet(Url, Object)static RestResponseHandleronGet(org.refcodes.web.Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseResultonGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)static RestResponseResultonGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)static RestResponseHandleronGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)static RestResponseHandleronGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)-
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, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse, onResponse
-
-
-
-
Method Detail
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
See alsoRestGetClient.buildGet(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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
See alsoRestGetClient.buildGet(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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aUrl) throws org.refcodes.web.HttpResponseException, MalformedURLException
See alsoRestGetClient.buildGet(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.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
See alsoRestGetClient.buildGet(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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
See alsoRestGetClient.buildGet(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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.web.Url aUrl) throws org.refcodes.web.HttpResponseException
See alsoRestGetClient.buildGet(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.web.HttpResponseException- thrown in case of some unexpected response.
-
buildGet
public static RestRequestBuilder buildGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aUrl) throws org.refcodes.web.HttpResponseException, MalformedURLException
See alsoRestGetClient.doGet(String)- Parameters:
aUrl- The targeted URL locating the addressed resource.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
See alsoRestGetClient.doGet(String, Object)- Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.HttpResponseException
- 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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- 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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException
- 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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) throws org.refcodes.web.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.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doGet
public static RestResponse doGet(org.refcodes.web.Url aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException
See alsoRestGetClient.doGet(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.GETrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(Scheme, String, int, String, RequestHeaderFields, Object, RestResponseConsumer)- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(Scheme, String, int, String, RequestHeaderFields, RestResponseConsumer)- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(Scheme, String, String, FormFields, RequestHeaderFields, RestResponseConsumer)- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(Scheme, String, String, RequestHeaderFields, Object, RestResponseConsumer)- Parameters:
aScheme- TheScheme(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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.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.GETrequest.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aUrl, RestResponseConsumer aResponseConsumer) throws MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(String, String, int, String, RequestHeaderFields, Object, RestResponseConsumer)- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(String, String, int, String, RequestHeaderFields, RestResponseConsumer)- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(String, String, String, FormFields, RequestHeaderFields, RestResponseConsumer)- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer)
- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(String, String, String, RequestHeaderFields, Object, RestResponseConsumer)- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer)
- 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.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.web.Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer)
- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer)
See alsoRestGetClient.onGet(String, String, String, RequestHeaderFields, Object, RestResponseConsumer)- 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.GETrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseHandler onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer)
- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPort- The port to be used when connecting to the host.aPath- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- Parameters:
aScheme- TheScheme(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.data.Scheme aScheme, String aHost, String aPath)
- Parameters:
aScheme- TheScheme(e.g. HTTP or HTTPS) to be used for the destination URL.aHost- The host to which the destination URL is to point to.aPath- The path on the host to which the base destination URL is to point to.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aLocator, org.refcodes.web.FormFields aQueryFields) throws MalformedURLException
- Parameters:
aLocator- The targeted locator, usually the part of the URL till (excluding) the query fields and the fragment.aQueryFields- The Query-Fields to be used for the HTTP Query-String.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aUrl, Object aRequest) throws MalformedURLException
See alsoRestGetClient.onGet(String, Object)- Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) throws MalformedURLException
- Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aUrl) throws MalformedURLException
See alsoRestGetClient.onGet(String)- Parameters:
aUrl- The targeted URL locating the addressed resource.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, int aPort, String aPath)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(String aProtocol, String aHost, String aPath)
- 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
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.web.Url aUrl, Object aRequest)
See alsoRestGetClient.onGet(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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest)
- 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.GETrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onGet
public static RestResponseResult onGet(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields)
- Parameters:
aUrl- TheUrlfrom which to take the URL specific data.aHeaderFields- The HTTP-Header's fields to be used for the request.- Returns:
- The
RestResponseResultwhich is used by your request.
-
-