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,
org.apache.http.entity.ContentType contentType)
Sets the request body to the specified raw byte array.
|
void |
setRequestBody(byte[] raw,
String contentType)
Deprecated.
since 9.0 use
setRequestBody(byte[], ContentType) instead |
void |
setRequestEntity(org.apache.http.HttpEntity requestEntity) |
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, unmarshal
public Put(@NotNull @NotNull org.apache.http.client.HttpClient client, @NotNull @NotNull String url)
public Put(@NotNull @NotNull String url)
@Deprecated public void setRequestBody(byte[] raw, String contentType)
setRequestBody(byte[], ContentType)
insteadraw
- contentType
- public void setRequestBody(byte[] raw, org.apache.http.entity.ContentType contentType)
raw
- contentType
- public void setRequestEntity(org.apache.http.HttpEntity requestEntity)
public void setRequestObject(Object obj) throws JAXBException
JAXBException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.