Class PutRestClientSugar
java.lang.Object
org.refcodes.rest.RestRequestClientSugar
org.refcodes.rest.GetRestClientSugar
org.refcodes.rest.PostRestClientSugar
org.refcodes.rest.PutRestClientSugar
- Direct Known Subclasses:
DeleteRestClientSugar
Helper class to get the syntactic sugar (from a maintenance point of view)
under control. You should actually statically import the
JdkHttpRestClientSugar.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RestRequestBuilderSee alsoPutRestClient.buildPut(String).static RestRequestBuilderSee alsoPutRestClient.buildPut(String, Object).static RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderbuildPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestRequestBuilderbuildPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderbuildPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderbuildPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderstatic RestRequestBuilderstatic RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestRequestBuilderbuildPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestRequestBuilderbuildPut(org.refcodes.web.Url aUrl) See alsoPutRestClient.buildPut(Url).static RestRequestBuilderbuildPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseSee alsoPutRestClient.doPut(String).static RestResponseSee alsoPutRestClient.doPut(String, Object).static RestResponsestatic RestResponsestatic RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsestatic RestResponsestatic RestResponsestatic RestResponsedoPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponsedoPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsedoPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseSee alsoPutRestClient.doPut(String, FormFields).static RestResponsestatic RestResponsedoPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsestatic RestResponsestatic RestResponsestatic RestResponsestatic RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsestatic RestResponsestatic RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponsedoPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseSee alsoPutRestClient.doPut(Url, Object).static RestResponseResultSee alsoPutRestClient.onPut(String).static RestResponseResultSee alsoPutRestClient.onPut(String, Object).static RestResponseHandleronPut(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseResultstatic RestResponseResultstatic RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultSee alsoPutRestClient.onPut(String, String, String)}.static RestResponseResultstatic RestResponseHandleronPut(String aProtocol, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, RestResponseConsumer aResponseConsumer) static RestResponseResultstatic RestResponseResultonPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aUrl, RestResponseConsumer aResponseConsumer) static RestResponseResultSee alsoPutRestClient.onPut(String, FormFields).static RestResponseResultstatic RestResponseHandleronPut(String aLocator, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aLocator, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultstatic RestResponseResultstatic RestResponseHandleronPut(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultstatic RestResponseResultstatic RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(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 RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultstatic RestResponseResultstatic RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) static RestResponseResultSee alsoPutRestClient.onPut(Url, Object).static RestResponseHandleronPut(org.refcodes.web.Url aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseResultonPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields) static RestResponseResultonPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) static RestResponseHandleronPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) static RestResponseHandleronPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) Methods inherited from class org.refcodes.rest.PostRestClientSugar
buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, buildPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, doPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPost, onPostMethods inherited from class org.refcodes.rest.GetRestClientSugar
buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, buildGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, doGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGet, onGetMethods 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
-
Constructor Details
-
PutRestClientSugar
public PutRestClientSugar()
-
-
Method Details
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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 alsoPutRestClient.buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException See alsoPutRestClient.buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(String aUrl) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- 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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- 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.
-
buildPut
public static RestRequestBuilder buildPut(String aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.buildPut(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.PUTrequest.- 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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- 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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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 alsoPutRestClient.buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest) throws org.refcodes.web.HttpResponseException See alsoPutRestClient.buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.PUTrequest.- Returns:
- The
RestRequestBuilderwhich is used to prepare and synchronously issue the request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
buildPut
public static RestRequestBuilder buildPut(org.refcodes.web.Url aUrl) throws org.refcodes.web.HttpResponseException See alsoPutRestClient.buildPut(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.
-
buildPut
public static RestRequestBuilder buildPut(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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(String aUrl) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.doPut(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.
-
doPut
public static RestResponse doPut(String aLocator, org.refcodes.web.FormFields aQueryFields) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.doPut(String, FormFields).- 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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- 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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- 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.
-
doPut
public static RestResponse doPut(String aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.doPut(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.PUTrequest.- 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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- 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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(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.
-
doPut
public static RestResponse doPut(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.PUTrequest.- Returns:
- The
RestResponseas of your request. - Throws:
org.refcodes.web.HttpResponseException- thrown in case of some unexpected response.
-
doPut
public static RestResponse doPut(org.refcodes.web.Url aUrl, Object aRequest) throws org.refcodes.web.HttpResponseException, MalformedURLException See alsoPutRestClient.doPut(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.PUTrequest.- 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.
-
onPut
public static RestResponseHandler onPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(Scheme, String, int, String, FormFields, 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.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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(org.refcodes.data.Scheme aScheme, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(org.refcodes.data.Scheme aScheme, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.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.
-
onPut
public static RestResponseHandler onPut(String aLocator, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException See alsoPutRestClient.onPut(String, FormFields, RequestHeaderFields, Object, RestResponseConsumer).- 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.PUTrequest.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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(String aUrl, Object aRequest, RestResponseConsumer aResponseConsumer) throws MalformedURLException - Parameters:
aUrl- The targeted URL locating the addressed resource.aRequest- The body to be sent with the request (e.g. when doing aHttpMethod.PUTrequest.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.
-
onPut
public static RestResponseHandler onPut(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) 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.PUTrequest.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.
-
onPut
public static RestResponseHandler onPut(String aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) throws MalformedURLException - Parameters:
aUrl- The targeted URL locating the addressed resource.aHeaderFields- The HTTP-Header's fields to be used for the request.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.FormFields aQueryFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(String, String, int, String, FormFields, 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.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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(String aProtocol, String aHost, int aPort, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(String aProtocol, String aHost, String aPath, org.refcodes.web.FormFields aQueryFields, org.refcodes.web.RequestHeaderFields aHeaderFields, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(String aProtocol, String aHost, String aPath, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseHandler onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(org.refcodes.web.Url aUrl, org.refcodes.web.RequestHeaderFields aHeaderFields, Object aRequest, RestResponseConsumer aResponseConsumer) See alsoPutRestClient.onPut(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.PUTrequest.aResponseConsumer- The listener processing a response targeted at thisRestResponseHandler.- Returns:
- The
RestResponseHandlerwhich is used by your request.
-
onPut
public static RestResponseHandler onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(String aLocator, org.refcodes.web.FormFields aQueryFields) throws MalformedURLException See alsoPutRestClient.onPut(String, FormFields).- 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.
-
onPut
See alsoPutRestClient.onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request. - Throws:
MalformedURLException- in case the provided URL is considered being malformed.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
See alsoPutRestClient.onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
- 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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-
onPut
See alsoPutRestClient.onPut(String, String, String)}.- 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.
-
onPut
See alsoPutRestClient.onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.PUTrequest.- Returns:
- The
RestResponseResultwhich is used by your request.
-
onPut
public static RestResponseResult onPut(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.
-