public class Put extends RESTCall<org.apache.http.client.methods.HttpPut>
Constructor and Description |
---|
Put(org.apache.http.client.HttpClient client,
String url) |
Put(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, execute, getHttpClientWithTimeout, getMethod, getResponseAsStream, getResponseAsString, getResponseBody, getResponseHeaders, getStatusCode, getURI, marshal, release, setBasicCredentials, setClientProxy, setMarshalledClasses, toString, unmarshal, unmarshal
public Put(@NotNull org.apache.http.client.HttpClient client, @NotNull String url)
public Put(@NotNull String url)
public void setRequestBody(byte[] raw, String contentType)
raw
- contentType
- public void setRequestObject(Object obj) throws JAXBException
JAXBException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.