public class FastInputRepresentation
extends org.restlet.resource.StreamRepresentation
Constructor and Description |
---|
FastInputRepresentation(com.boomi.util.io.FastByteArrayInputStream fin,
org.restlet.data.MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
com.boomi.util.io.FastByteArrayInputStream |
getStream() |
String |
getText() |
void |
write(OutputStream outputStream) |
isAvailable, isTransient, setAvailable, setTransient
getCharacterSet, getEncodings, getExpirationDate, getIdentifier, getLanguages, getMediaType, getModificationDate, getSize, getTag, setCharacterSet, setExpirationDate, setIdentifier, setIdentifier, setMediaType, setModificationDate, setSize, setTag
public FastInputRepresentation(com.boomi.util.io.FastByteArrayInputStream fin, org.restlet.data.MediaType mediaType)
public com.boomi.util.io.FastByteArrayInputStream getStream() throws IOException
getStream
in class org.restlet.resource.Representation
IOException
public String getText() throws IOException
getText
in class org.restlet.resource.Representation
IOException
public void write(OutputStream outputStream) throws IOException
write
in class org.restlet.resource.Representation
IOException