public class AjaxHeaders extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns true if the HTTP request contains the header.
Checks whether the effective user has change between the time when the view issue page was loaded and the time when the current request was made (this can happen due to session timeouts, logging out in another window, etc).
public static boolean requestUsernameMatches(javax.servlet.http.HttpServletRequest request, ApplicationUser user)
This method looks at the
request header to determine the user that was
effective at the time the page was loaded. If the request header is not present, then that is considered a match
request- a HttpServletRequest
user- a User
public static boolean isPjaxRequest(javax.servlet.http.HttpServletRequest request)
request- a JiraWebActionSupport
Copyright © 2002-2020 Atlassian. All Rights Reserved.