@Deprecated public class Put extends RESTCall<org.apache.commons.httpclient.methods.PutMethod>
Constructor and Description |
---|
Put(org.apache.commons.httpclient.HttpClient client,
String url)
Deprecated.
|
Put(String url)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
setRequestBody(byte[] raw,
String contentType)
Deprecated.
Sets the request body to the specified raw byte array.
|
void |
setRequestObject(Object obj)
Deprecated.
|
addRequestHeader, assertExecuted, assertNotExecuted, execute, getMethod, getResponseAsStream, getResponseBody, getStatusCode, getURI, marshal, release, setBasicCredentials, setClientProxy, setMarshalledClasses, unmarshal, unmarshal
public Put(@NotNull org.apache.commons.httpclient.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.