public abstract class StreamRepresentation extends Representation
UNKNOWN_SIZE| Constructor and Description | 
|---|
StreamRepresentation(MediaType mediaType)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.io.Reader | 
getReader()
Returns a characters reader with the representation's content. 
 | 
append, exhaust, getAvailableSize, getDisposition, getExpirationDate, getRange, getSize, getStream, getText, hasKnownSize, isAvailable, isEmpty, isTransient, release, setAvailable, setDisposition, setExpirationDate, setRange, setSize, setTransientgetModificationDate, getTag, setModificationDate, setTagcreateClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toStringpublic StreamRepresentation(MediaType mediaType)
mediaType - The media type.public java.io.Reader getReader()
                         throws java.io.IOException
RepresentationgetReader in class Representationjava.io.IOExceptionCopyright © 2005-2024 Restlet.