Package kong.unirest.core
Class HttpRequestJsonPatch
- All Implemented Interfaces:
Body
,HttpRequest<JsonPatchRequest>
,JsonPatchRequest
-
Field Summary
FieldsFields inherited from class kong.unirest.core.BaseRequest
config, headers, method, url
Fields inherited from interface kong.unirest.core.JsonPatchRequest
CONTENT_TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestJsonPatch
(Config config, String url) HttpRequestJsonPatch
(HttpRequestJsonPatch 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.Body
getBoundary, getCharset, getField, getMode, getMonitor, multiParts
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
-
Field Details
-
items
-
-
Constructor Details
-
HttpRequestJsonPatch
-
HttpRequestJsonPatch
-
-
Method Details
-
add
- Specified by:
add
in interfaceJsonPatchRequest
-
remove
- Specified by:
remove
in interfaceJsonPatchRequest
-
replace
- Specified by:
replace
in interfaceJsonPatchRequest
-
test
- Specified by:
test
in interfaceJsonPatchRequest
-
move
- Specified by:
move
in interfaceJsonPatchRequest
-
copy
- Specified by:
copy
in interfaceJsonPatchRequest
-
getBody
- Specified by:
getBody
in interfaceHttpRequest<JsonPatchRequest>
- Returns:
- if the request has a body it will be here.
-
uniPart
-
isMultiPart
public boolean isMultiPart()- Specified by:
isMultiPart
in interfaceBody
-
isEntityBody
public boolean isEntityBody()- Specified by:
isEntityBody
in interfaceBody
-
getPatch
-