public interface PayloadEnclosing
Modifier and Type | Method and Description |
---|---|
Payload |
getPayload() |
void |
setPayload(byte[] data) |
void |
setPayload(File data) |
void |
setPayload(InputStream data) |
void |
setPayload(Payload data)
Sets payload for the request or the content from the response.
|
void |
setPayload(String data) |
void setPayload(Payload data)
data
- typically InputStream for downloads, or File, byte [], String, or InputStream for
uploads.void setPayload(File data)
void setPayload(byte[] data)
void setPayload(InputStream data)
void setPayload(String data)
Copyright © 2009-2013 jclouds. All Rights Reserved.