Method Summary |
|
public CharacterSet | getCharacterSet() Returns the character set or null if not applicable. |
public List<Encoding> | getEncodings() Returns the list of encodings applied to the entity-body. |
public Date | getExpirationDate() Returns the future date when this representation expire. |
public Reference | getIdentifier() Returns an optional identifier. |
public List<Language> | getLanguages() Returns the list of languages. |
public MediaType | getMediaType() Returns the media type. |
public Date | getModificationDate() Returns the last date when this representation was modified. |
public long | getSize() Returns the size in bytes if known, UNKNOWN_SIZE (-1) otherwise. |
public Tag | getTag() Returns the tag. |
public void | setCharacterSet(CharacterSet characterSet) Sets the character set or null if not applicable. |
public void | setExpirationDate(Date expirationDate) Sets the future date when this representation expire. |
public void | setIdentifier(Reference identifier) Sets the optional identifier. |
public void | setIdentifier(String identifierUri) Sets the identifier from a URI string. |
public void | setMediaType(MediaType mediaType) Sets the media type. |
public void | setModificationDate(Date modificationDate) Sets the last date when this representation was modified. |
public void | setSize(long expectedSize) Sets the expected size in bytes if known, -1 otherwise. |
public void | setTag(Tag tag) Sets the tag. |