public class ForwardAttributes extends Object
ServletRequest
when the servlet
container is handling an error or a forward to an error page mapped by error-page
element
in web.xml
.
See documentation for the following request attributes for the values stored in this object:
Modifier and Type | Method and Description |
---|---|
String |
getContextPath()
Gets contextPath.
|
String |
getQueryString()
Gets the query string.
|
String |
getRequestUri()
Gets requestUri.
|
String |
getServletPath()
Gets servletPath.
|
static ForwardAttributes |
of(javax.servlet.http.HttpServletRequest request,
String filterPrefix)
Factory for creating instances of this class.
|
String |
toString() |
public String getRequestUri()
public String getServletPath()
public String getContextPath()
public String getQueryString()
public static ForwardAttributes of(javax.servlet.http.HttpServletRequest request, String filterPrefix)
request
- null
if it does not.Copyright © 2006–2014 Apache Software Foundation. All rights reserved.