public class Put extends RESTCall<org.apache.http.client.methods.HttpPut>
| Constructor and Description |
|---|
Put(@NotNull org.apache.http.client.HttpClient client,
@NotNull String url) |
Put(@NotNull String url) |
| Modifier and Type | Method and Description |
|---|---|
void |
setRequestBody(byte[] raw,
String contentType)
Sets the request body to the specified raw byte array.
|
void |
setRequestObject(Object obj) |
addRequestHeader, assertExecuted, assertNotExecuted, beforeExecute, close, execute, getHttpClientWithTimeout, getMethod, getResponseAsStream, getResponseAsString, getResponseBody, getResponseHeaders, getStatusCode, getStatusLine, getURI, marshal, release, setBasicCredentials, setMarshalledClasses, toString, unmarshal, unmarshalpublic Put(@NotNull
@NotNull org.apache.http.client.HttpClient client,
@NotNull
@NotNull String url)
public Put(@NotNull
@NotNull String url)
public void setRequestBody(byte[] raw,
String contentType)
raw - contentType - public void setRequestObject(Object obj) throws JAXBException
JAXBExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.