|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Message
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 | |
---|---|
String |
getCacheControl()
Return the value of the Cache-Control header |
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 |
Date |
getDateHeader(String name)
Return the value of a Date header |
String |
getDecodedHeader(String name)
Get the decoded value of a RFC 2047 header |
String[] |
getDecodedHeaders(String name)
Return multiple decoded values for the specified header |
String |
getHeader(String name)
Get the value of the specified header |
String[] |
getHeaderNames()
Return a listing of header names |
Object[] |
getHeaders(String name)
Return multiple values for the specified header |
long |
getMaxAge()
Return the maximum-age as specified by the Cache-Control header |
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 |
Method Detail |
---|
String getHeader(String name)
String getDecodedHeader(String name)
Object[] getHeaders(String name)
String[] getDecodedHeaders(String name)
String[] getHeaderNames()
String getCacheControl()
String getSlug()
javax.activation.MimeType getContentType()
IRI getContentLocation()
String getContentLanguage()
Date getDateHeader(String name)
long getMaxAge()
boolean isNoCache()
boolean isNoStore()
boolean isNoTransform()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |