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, setTransientgetCharacterSet, getEncodings, getExpirationDate, getIdentifier, getLanguages, getMediaType, getModificationDate, getSize, getTag, setCharacterSet, setExpirationDate, setIdentifier, setIdentifier, setMediaType, setModificationDate, setSize, setTagpublic 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.RepresentationIOExceptionpublic String getText() throws IOException
getText in class org.restlet.resource.RepresentationIOExceptionpublic void write(OutputStream outputStream) throws IOException
write in class org.restlet.resource.RepresentationIOException