Class PageReference
- java.lang.Object
-
- com.atlassian.confluence.pages.actions.beans.PageReference
-
public class PageReference extends Object
Context object placed in the HttpServletRequest attributes so that the PageNotFoundAction can determine which page was targetted by the user.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTRIBUTE_KEY
-
Constructor Summary
Constructors Constructor Description PageReference(String spaceKey, String pageTitle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PageReference
get(javax.servlet.http.HttpServletRequest request)
String
getPageTitle()
String
getSpaceKey()
static void
set(javax.servlet.http.HttpServletRequest request, String spaceKey, String pageTitle)
-
-
-
Field Detail
-
ATTRIBUTE_KEY
public static final String ATTRIBUTE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
set
public static void set(javax.servlet.http.HttpServletRequest request, String spaceKey, String pageTitle)
-
get
public static PageReference get(javax.servlet.http.HttpServletRequest request)
-
getPageTitle
public String getPageTitle()
-
getSpaceKey
public String getSpaceKey()
-
-