public class ByteBasedResult extends StreamResult
Constructor and Description |
---|
ByteBasedResult(java.lang.String contentType,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
ILocator |
getLocator()
Return the
ILocator that defines the physical resource location
for the reciver. |
java.lang.String |
toString() |
getName, getType, setName, setType
getContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentType
public ByteBasedResult(java.lang.String contentType, byte[] bytes)
public byte[] getBytes()
public ILocator getLocator()
ILocatorSupport
ILocator
that defines the physical resource location
for the reciver.ILocator
that defines the physical resource
location for the reciver.public java.lang.String toString()
toString
in class java.lang.Object