Groovy Documentation

[Groovy] Class HeadersCategory

java.lang.Object
  HeadersCategory

@Category(PageInfo)
class HeadersCategory

Constructor Summary
HeadersCategory()

 
Method Summary
java.util.Map getCacheDirectives()

long getDateHeader(java.lang.String headerName)

java.lang.String getHeader(java.lang.String headerName)

boolean isMatch(javax.servlet.http.HttpServletRequest request)

Returns true if the page's etag header indicates it is the same as the copy held by the client as indicated by the request's if-none-match header.

boolean isModified(javax.servlet.http.HttpServletRequest request)

Returns true if the page's last-modified header indicates it is newer than the copy held by the client as indicated by the request's if-modified-since header.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

HeadersCategory

HeadersCategory()


 
Method Detail

getCacheDirectives

java.util.Map getCacheDirectives()


getDateHeader

long getDateHeader(java.lang.String headerName)


getHeader

java.lang.String getHeader(java.lang.String headerName)


isMatch

boolean isMatch(javax.servlet.http.HttpServletRequest request)
Returns true if the page's etag header indicates it is the same as the copy held by the client as indicated by the request's if-none-match header.


isModified

boolean isModified(javax.servlet.http.HttpServletRequest request)
Returns true if the page's last-modified header indicates it is newer than the copy held by the client as indicated by the request's if-modified-since header.


 

Groovy Documentation