public class BinaryContent extends AbstractContent
BinaryContent is to represent binary content.contentType, source| Constructor and Description |
|---|
BinaryContent(byte[] content) |
BinaryContent(ContentSource source) |
BinaryContent(int contentLength) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
getContentSourcepublic BinaryContent(byte[] content)
public BinaryContent(ContentSource source)
public BinaryContent(int contentLength)
public String getContentType()
getContentType in interface ContentgetContentType in class AbstractContentpublic long getContentLength()
getContentLength in interface ContentgetContentLength in class AbstractContentCopyright © 2019. All rights reserved.