@PublicApi public class JiraHttpUtils extends Object
| Constructor and Description |
|---|
JiraHttpUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
Sets the Cache-Control, Pragma and Expires headers on a response so that the response content will not be cached
|
static void |
setNoCacheHeaders(RequestHeaders requestHeaders)
Sets the Cache-Control, Pragma and Expires headers on a response so that the response content will not be cached
Note: this is a convenience method for existing SearchRequestView code
|
public static void setNoCacheHeaders(javax.servlet.http.HttpServletResponse response)
response - the response objectpublic static void setNoCacheHeaders(RequestHeaders requestHeaders)
requestHeaders - wrapper object around a response (used in SearchRequestViews)Copyright © 2002-2024 Atlassian. All Rights Reserved.