|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Response
Base interface for an Atompub protocol response message
Nested Class Summary | |
---|---|
static class |
Response.ResponseType
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 | |
---|---|
long |
getAge()
Get the age of this response as specified by the server |
String |
getAllow()
Get the value of the Allow response header |
long |
getContentLength()
Get the value of the Content-Length response header |
org.apache.abdera.util.EntityTag |
getEntityTag()
Get the Entity Tag returned by the server |
Date |
getExpires()
Get the date/time this response expires |
Date |
getLastModified()
Get the value of the Last-Modified response header |
IRI |
getLocation()
Get the value of the Location response header |
String[] |
getNoCacheHeaders()
|
String[] |
getPrivateHeaders()
|
long |
getSMaxAge()
|
int |
getStatus()
Get the specific response status code |
String |
getStatusText()
Get the response status text |
Response.ResponseType |
getType()
Get the response type classification |
boolean |
isMustRevalidate()
True if the Cache-Control header specifies the must-revalidate directive |
boolean |
isPrivate()
True if the Cache-Control header specifies the private directive |
boolean |
isProxyRevalidate()
True if the Cache-Control header specifies the proxy-revalidate directive |
boolean |
isPublic()
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 |
---|
org.apache.abdera.util.EntityTag getEntityTag()
Response.ResponseType getType()
int getStatus()
String getStatusText()
Date getLastModified()
long getContentLength()
String getAllow()
IRI getLocation()
boolean isPrivate()
boolean isPublic()
boolean isMustRevalidate()
boolean isProxyRevalidate()
long getSMaxAge()
long getAge()
Date getExpires()
String[] getNoCacheHeaders()
String[] getPrivateHeaders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |