@Deprecated public class Post extends RESTCall<org.apache.commons.httpclient.methods.PostMethod>
| Constructor and Description |
|---|
Post(org.apache.commons.httpclient.HttpClient client,
String url)
Deprecated.
|
Post(String url)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParam(String name,
String value)
Deprecated.
|
void |
setMultipartRequest(org.apache.commons.httpclient.methods.multipart.Part... parts)
Deprecated.
|
void |
setRequestBody(byte[] raw,
String contentType)
Deprecated.
Sets the request body to the specified raw byte array.
|
void |
setRequestEntity(org.apache.commons.httpclient.methods.RequestEntity requestEntity)
Deprecated.
|
void |
setRequestObject(Object obj)
Deprecated.
|
addRequestHeader, assertExecuted, assertNotExecuted, execute, getMethod, getResponseAsStream, getResponseBody, getStatusCode, getURI, marshal, release, setBasicCredentials, setClientProxy, setMarshalledClasses, unmarshal, unmarshalpublic Post(@NotNull
org.apache.commons.httpclient.HttpClient client,
@NotNull
String url)
public Post(@NotNull
String url)
public void setMultipartRequest(org.apache.commons.httpclient.methods.multipart.Part... parts)
public void setRequestBody(byte[] raw,
String contentType)
raw - contentType - public void setRequestObject(Object obj) throws JAXBException
JAXBExceptionpublic void setRequestEntity(org.apache.commons.httpclient.methods.RequestEntity requestEntity)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.