Package org.apache.abdera.protocol
Interface Message
-
- All Superinterfaces:
ProtocolConstants
- All Known Subinterfaces:
CachedResponse,ClientResponse,Request,RequestContext,Response,ResponseContext
- All Known Implementing Classes:
AbstractClientResponse,AbstractMessage,AbstractRequest,AbstractRequestContext,AbstractResponse,AbstractResponseContext,BaseResponseContext,CachedResponseBase,CommonsResponse,CompressionFilter.CompressingResponseContextWrapper,EmptyResponseContext,EntityProviderResponseContext,InMemoryCachedResponse,MediaResponseContext,RequestContextWrapper,RequestOptions,ResponseContextWrapper,ServletRequestContext,SimpleResponseContext,StreamWriterResponseContext
@Deprecated public interface Message extends ProtocolConstants
Deprecated.Legacy AEM 6.x API.A protocol message. This is used as the basis for both request and response objects in order to provide a consistent interface.
-
-
Field Summary
-
Fields inherited from interface org.apache.abdera.protocol.util.ProtocolConstants
NOCACHE, NOSTORE, NOTRANSFORM, ONLYIFCACHED, PRIVATE, PROXYREVALIDATE, PUBLIC, REVALIDATE
-
-
Method Summary
All Methods Instance Methods Abstract 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 headerDategetDateHeader(String name)Deprecated.Return the value of a Date headerStringgetDecodedHeader(String name)Deprecated.Get the decoded value of a RFC 2047 headerString[]getDecodedHeaders(String name)Deprecated.Return multiple decoded values for the specified headerStringgetHeader(String name)Deprecated.Get the value of the specified headerString[]getHeaderNames()Deprecated.Return a listing of header namesObject[]getHeaders(String name)Deprecated.Return multiple 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
-
-
-
Method Detail
-
getDecodedHeader
String getDecodedHeader(String name)
Deprecated.Get the decoded value of a RFC 2047 header
-
getHeaders
Object[] getHeaders(String name)
Deprecated.Return multiple values for the specified header
-
getDecodedHeaders
String[] getDecodedHeaders(String name)
Deprecated.Return multiple decoded values for the specified header
-
getHeaderNames
String[] getHeaderNames()
Deprecated.Return a listing of header names
-
getCacheControl
String getCacheControl()
Deprecated.Return the value of the Cache-Control header
-
getSlug
String getSlug()
Deprecated.Return the value of the Slug header
-
getContentType
MimeType getContentType()
Deprecated.Return the value of the Content-Type header
-
getContentLocation
org.apache.abdera.i18n.iri.IRI getContentLocation()
Deprecated.Return the value of the Content-Location header
-
getContentLanguage
String getContentLanguage()
Deprecated.Return the value of the Content-Language header
-
getMaxAge
long getMaxAge()
Deprecated.Return the maximum-age as specified by the Cache-Control header
-
isNoCache
boolean isNoCache()
Deprecated.Return true if the Cache-Control header contains no-cache
-
isNoStore
boolean isNoStore()
Deprecated.Return true if the Cache-Control header contains no-store
-
isNoTransform
boolean isNoTransform()
Deprecated.Return true if the Cache-Control header contains no-transform
-
-