Constructor and Description |
---|
ByteContent(byte[] contents) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Return the content as
InputStream |
long |
size()
Size (in octets) of the content.
|
public long size()
Content
size
in interface Content
Content.size()
public InputStream getInputStream() throws IOException
Content
InputStream
getInputStream
in interface Content
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.