Class CharacterRepresentation
- java.lang.Object
-
- org.restlet.client.representation.Variant
-
- org.restlet.client.representation.RepresentationInfo
-
- org.restlet.client.representation.Representation
-
- org.restlet.client.representation.CharacterRepresentation
-
- Direct Known Subclasses:
StringRepresentation
public abstract class CharacterRepresentation extends Representation
Representation based on a BIO character stream.- Author:
- Jerome Louvel
-
-
Field Summary
-
Fields inherited from class org.restlet.client.representation.Representation
UNKNOWN_SIZE
-
-
Constructor Summary
Constructors Constructor Description CharacterRepresentation(MediaType mediaType)
Constructor.
-
Method Summary
-
Methods inherited from class org.restlet.client.representation.Representation
append, exhaust, getAvailableSize, getDisposition, getExpirationDate, getRange, getReader, getSize, getStream, getText, hasKnownSize, isAvailable, isEmpty, isTransient, release, setAvailable, setDisposition, setExpirationDate, setRange, setSize, setTransient
-
Methods inherited from class org.restlet.client.representation.RepresentationInfo
getModificationDate, getTag, setModificationDate, setTag
-
Methods inherited from class org.restlet.client.representation.Variant
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, hashCode, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
-
-
-
-
Constructor Detail
-
CharacterRepresentation
public CharacterRepresentation(MediaType mediaType)
Constructor.- Parameters:
mediaType
- The media type.
-
-