Package org.apache.abdera.protocol.util
Class AbstractMessage
- java.lang.Object
-
- org.apache.abdera.protocol.util.AbstractMessage
-
- All Implemented Interfaces:
Message,ProtocolConstants
- Direct Known Subclasses:
AbstractRequest,AbstractResponse
@Deprecated public abstract class AbstractMessage extends Object implements Message
Deprecated.Legacy AEM 6.x API.Root impl for Message interface impls. This is provided solely as a way of keeping the interface and impl's consistent across the Request and Response objects.
-
-
Field Summary
-
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
-
-
Constructor Summary
Constructors Constructor Description AbstractMessage()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetCacheControl()Deprecated.Return the value of the Cache-Control headerStringgetContentLanguage()Deprecated.Return the value of the Content-Language headerorg.apache.abdera.i18n.iri.IRIgetContentLocation()Deprecated.Return the value of the Content-Location headerMimeTypegetContentType()Deprecated.Return the value of the Content-Type headerStringgetDecodedHeader(String header)Deprecated.Get the decoded value of a RFC 2047 headerString[]getDecodedHeaders(String header)Deprecated.Return multiple decoded values for the specified headerlonggetMaxAge()Deprecated.Return the maximum-age as specified by the Cache-Control headerStringgetSlug()Deprecated.Return the value of the Slug headerbooleanisNoCache()Deprecated.Return true if the Cache-Control header contains no-cachebooleanisNoStore()Deprecated.Return true if the Cache-Control header contains no-storebooleanisNoTransform()Deprecated.Return true if the Cache-Control header contains no-transform-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.abdera.protocol.Message
getDateHeader, getHeader, getHeaderNames, getHeaders
-
-
-
-
Method Detail
-
getCacheControl
public String getCacheControl()
Deprecated.Description copied from interface:MessageReturn the value of the Cache-Control header- Specified by:
getCacheControlin interfaceMessage
-
getContentLanguage
public String getContentLanguage()
Deprecated.Description copied from interface:MessageReturn the value of the Content-Language header- Specified by:
getContentLanguagein interfaceMessage
-
getContentLocation
public org.apache.abdera.i18n.iri.IRI getContentLocation()
Deprecated.Description copied from interface:MessageReturn the value of the Content-Location header- Specified by:
getContentLocationin interfaceMessage
-
getContentType
public MimeType getContentType()
Deprecated.Description copied from interface:MessageReturn the value of the Content-Type header- Specified by:
getContentTypein interfaceMessage
-
getDecodedHeader
public String getDecodedHeader(String header)
Deprecated.Description copied from interface:MessageGet the decoded value of a RFC 2047 header- Specified by:
getDecodedHeaderin interfaceMessage
-
getDecodedHeaders
public String[] getDecodedHeaders(String header)
Deprecated.Description copied from interface:MessageReturn multiple decoded values for the specified header- Specified by:
getDecodedHeadersin interfaceMessage
-
getSlug
public String getSlug()
Deprecated.Description copied from interface:MessageReturn the value of the Slug header
-
isNoCache
public boolean isNoCache()
Deprecated.Description copied from interface:MessageReturn true if the Cache-Control header contains no-cache
-
isNoStore
public boolean isNoStore()
Deprecated.Description copied from interface:MessageReturn true if the Cache-Control header contains no-store
-
isNoTransform
public boolean isNoTransform()
Deprecated.Description copied from interface:MessageReturn true if the Cache-Control header contains no-transform- Specified by:
isNoTransformin interfaceMessage
-
-