Package kong.unirest.core
Class HttpRequestNoBody
- All Implemented Interfaces:
GetRequest
,HttpRequest<GetRequest>
-
Field Summary
Fields inherited from class kong.unirest.core.BaseRequest
config, headers, method, url
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestNoBody
(Config config, HttpMethod method, String url) HttpRequestNoBody
(HttpRequestNoBody baseRequest) -
Method Summary
Methods inherited from class kong.unirest.core.BaseRequest
accept, asBytes, asBytesAsync, asBytesAsync, asEmpty, asEmptyAsync, asEmptyAsync, asFile, asFileAsync, asFileAsync, asJson, asJsonAsync, asJsonAsync, asObject, asObject, asObject, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asPaged, asString, asStringAsync, asStringAsync, basicAuth, cookie, cookie, cookie, downloadMonitor, equals, getCreationTime, getDownloadMonitor, getHeaders, getHttpMethod, getObjectMapper, getPath, getRequestTimeout, getUrl, getVersion, hashCode, header, headerReplace, headers, headersReplace, queryString, queryString, queryString, requestTimeout, responseEncoding, routeParam, routeParam, thenConsume, thenConsumeAsync, toSummary, version, withObjectMapper
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface kong.unirest.core.HttpRequest
accept, accept, asBytes, asBytesAsync, asBytesAsync, asEmpty, asEmptyAsync, asEmptyAsync, asFile, asFileAsync, asFileAsync, asJson, asJsonAsync, asJsonAsync, asObject, asObject, asObject, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asObjectAsync, asPaged, asString, asStringAsync, asStringAsync, basicAuth, cookie, cookie, cookie, downloadMonitor, getCreationTime, getHeaders, getHttpMethod, getRequestTimeout, getUrl, getVersion, header, headerReplace, headers, headersReplace, queryString, queryString, queryString, requestTimeout, responseEncoding, routeParam, routeParam, thenConsume, thenConsumeAsync, toSummary, version, withObjectMapper
-
Constructor Details
-
HttpRequestNoBody
HttpRequestNoBody(Config config, HttpMethod method, String url) -
HttpRequestNoBody
HttpRequestNoBody(HttpRequestNoBody baseRequest)
-
-
Method Details
-
getBody
- Specified by:
getBody
in interfaceHttpRequest<GetRequest>
- Returns:
- if the request has a body it will be here.
-