|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.filters.cache.JspCachingStrategy
public final class JspCachingStrategy
Applies caching headers to ensures JSP responses are not cached by the client. A JSP request is one that has the string ".jsp" somewhere in the request URI.
| Constructor Summary | |
|---|---|
JspCachingStrategy()
|
|
| Method Summary | |
|---|---|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Returns true if the given request should be handled by this caching strategy. |
void |
setCachingHeaders(javax.servlet.http.HttpServletResponse response)
Sets the relevant caching headers for the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JspCachingStrategy()
| Method Detail |
|---|
public final boolean matches(javax.servlet.http.HttpServletRequest request)
CachingStrategy
matches in interface CachingStrategypublic final void setCachingHeaders(javax.servlet.http.HttpServletResponse response)
CachingStrategy
setCachingHeaders in interface CachingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||