|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.rest.util.RESTCall com.atlassian.bamboo.rest.util.Post
public class Post
Constructor Summary | |
---|---|
Post(java.lang.String url)
|
Method Summary | |
---|---|
protected java.lang.String |
getAction()
Returns the HTTP action (POST/GET/HEAD/etc) |
void |
setMultipartRequest(org.apache.commons.httpclient.methods.multipart.Part... parts)
|
void |
setRequestBody(byte[] raw,
java.lang.String contentType)
Sets the request body to the specified raw byte array. |
void |
setRequestObject(java.lang.Object obj)
|
Methods inherited from class com.atlassian.bamboo.rest.util.RESTCall |
---|
addRequestHeader, assertExecuted, assertNotExecuted, execute, getResponseAsStream, getResponseBody, getStatusCode, marshal, release, setBasicCredentials, setMarshalledClasses, unmarshal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Post(java.lang.String url)
Method Detail |
---|
protected java.lang.String getAction()
RESTCall
getAction
in class RESTCall
public void setMultipartRequest(org.apache.commons.httpclient.methods.multipart.Part... parts)
public void setRequestBody(byte[] raw, java.lang.String contentType)
raw
- contentType
- public void setRequestObject(java.lang.Object obj) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |