| |
|
| java.lang.Object org.apache.commons.httpclient.methods.ByteArrayRequestEntity
ByteArrayRequestEntity | public class ByteArrayRequestEntity implements RequestEntity(Code) | | A RequestEntity that contains an array of bytes.
since: 3.0 |
ByteArrayRequestEntity | public ByteArrayRequestEntity(byte[] content)(Code) | | Creates a new entity with the given content.
Parameters: content - The content to set. |
ByteArrayRequestEntity | public ByteArrayRequestEntity(byte[] content, String contentType)(Code) | | Creates a new entity with the given content and content type.
Parameters: content - The content to set. Parameters: contentType - The content type to set or null . |
getContent | public byte[] getContent()(Code) | | Returns the content. |
getContentLength | public long getContentLength()(Code) | | The length of the content. |
isRepeatable | public boolean isRepeatable()(Code) | | true |
|
|
|