public abstract class AbstractMessage extends java.lang.Object implements Message
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE| Constructor and Description |
|---|
AbstractMessage() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheControl()
Return the value of the Cache-Control header
|
java.lang.String |
getContentLanguage()
Return the value of the Content-Language header
|
IRI |
getContentLocation()
Return the value of the Content-Location header
|
javax.activation.MimeType |
getContentType()
Return the value of the Content-Type header
|
java.lang.String |
getDecodedHeader(java.lang.String header)
Get the decoded value of a RFC 2047 header
|
java.lang.String[] |
getDecodedHeaders(java.lang.String header)
Return multiple decoded values for the specified header
|
long |
getMaxAge()
Return the maximum-age as specified by the Cache-Control header
|
java.lang.String |
getSlug()
Return the value of the Slug header
|
boolean |
isNoCache()
Return true if the Cache-Control header contains no-cache
|
boolean |
isNoStore()
Return true if the Cache-Control header contains no-store
|
boolean |
isNoTransform()
Return true if the Cache-Control header contains no-transform
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDateHeader, getHeader, getHeaderNames, getHeaderspublic java.lang.String getCacheControl()
MessagegetCacheControl in interface Messagepublic java.lang.String getContentLanguage()
MessagegetContentLanguage in interface Messagepublic IRI getContentLocation()
MessagegetContentLocation in interface Messagepublic javax.activation.MimeType getContentType()
MessagegetContentType in interface Messagepublic java.lang.String getDecodedHeader(java.lang.String header)
MessagegetDecodedHeader in interface Messagepublic java.lang.String[] getDecodedHeaders(java.lang.String header)
MessagegetDecodedHeaders in interface Messagepublic java.lang.String getSlug()
Messagepublic boolean isNoCache()
Messagepublic boolean isNoStore()
Messagepublic boolean isNoTransform()
MessageisNoTransform in interface MessageCopyright © 2010 - 2020 Adobe. All Rights Reserved