Package org.apache.abdera.protocol
Interface Response
-
- All Superinterfaces:
Message,ProtocolConstants
- All Known Subinterfaces:
CachedResponse,ClientResponse,ResponseContext
- All Known Implementing Classes:
AbstractClientResponse,AbstractResponse,AbstractResponseContext,BaseResponseContext,CachedResponseBase,CommonsResponse,CompressionFilter.CompressingResponseContextWrapper,EmptyResponseContext,EntityProviderResponseContext,InMemoryCachedResponse,MediaResponseContext,ResponseContextWrapper,SimpleResponseContext,StreamWriterResponseContext
@Deprecated public interface Response extends Message
Deprecated.Legacy AEM 6.x API.Base interface for an Atompub protocol response message
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResponse.ResponseTypeDeprecated.High level classifications of response types
-
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 longgetAge()Deprecated.Get the age of this response as specified by the serverStringgetAllow()Deprecated.Get the value of the Allow response headerlonggetContentLength()Deprecated.Get the value of the Content-Length response headerorg.apache.abdera.util.EntityTaggetEntityTag()Deprecated.Get the Entity Tag returned by the serverDategetExpires()Deprecated.Get the date/time this response expiresDategetLastModified()Deprecated.Get the value of the Last-Modified response headerorg.apache.abdera.i18n.iri.IRIgetLocation()Deprecated.Get the value of the Location response headerString[]getNoCacheHeaders()Deprecated.String[]getPrivateHeaders()Deprecated.longgetSMaxAge()Deprecated.intgetStatus()Deprecated.Get the specific response status codeStringgetStatusText()Deprecated.Get the response status textResponse.ResponseTypegetType()Deprecated.Get the response type classificationbooleanisMustRevalidate()Deprecated.True if the Cache-Control header specifies the must-revalidate directivebooleanisPrivate()Deprecated.True if the Cache-Control header specifies the private directivebooleanisProxyRevalidate()Deprecated.True if the Cache-Control header specifies the proxy-revalidate directivebooleanisPublic()Deprecated.True if the Cache-Control header specified the public directive-
Methods inherited from interface org.apache.abdera.protocol.Message
getCacheControl, getContentLanguage, getContentLocation, getContentType, getDateHeader, getDecodedHeader, getDecodedHeaders, getHeader, getHeaderNames, getHeaders, getMaxAge, getSlug, isNoCache, isNoStore, isNoTransform
-
-
-
-
Method Detail
-
getEntityTag
org.apache.abdera.util.EntityTag getEntityTag()
Deprecated.Get the Entity Tag returned by the server
-
getType
Response.ResponseType getType()
Deprecated.Get the response type classification
-
getStatus
int getStatus()
Deprecated.Get the specific response status code
-
getStatusText
String getStatusText()
Deprecated.Get the response status text
-
getLastModified
Date getLastModified()
Deprecated.Get the value of the Last-Modified response header
-
getContentLength
long getContentLength()
Deprecated.Get the value of the Content-Length response header
-
getAllow
String getAllow()
Deprecated.Get the value of the Allow response header
-
getLocation
org.apache.abdera.i18n.iri.IRI getLocation()
Deprecated.Get the value of the Location response header
-
isPrivate
boolean isPrivate()
Deprecated.True if the Cache-Control header specifies the private directive
-
isPublic
boolean isPublic()
Deprecated.True if the Cache-Control header specified the public directive
-
isMustRevalidate
boolean isMustRevalidate()
Deprecated.True if the Cache-Control header specifies the must-revalidate directive
-
isProxyRevalidate
boolean isProxyRevalidate()
Deprecated.True if the Cache-Control header specifies the proxy-revalidate directive
-
getSMaxAge
long getSMaxAge()
Deprecated.
-
getAge
long getAge()
Deprecated.Get the age of this response as specified by the server
-
getExpires
Date getExpires()
Deprecated.Get the date/time this response expires
-
getNoCacheHeaders
String[] getNoCacheHeaders()
Deprecated.
-
getPrivateHeaders
String[] getPrivateHeaders()
Deprecated.
-
-