org.apache.wicket.protocol.http.servlet
Class ForwardAttributes

java.lang.Object
  extended by org.apache.wicket.protocol.http.servlet.ForwardAttributes

public class ForwardAttributes
extends Object

Represents additional error parameters present in a 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:


Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getRequestUri

public String getRequestUri()
Gets requestUri.

Returns:
requestUri

getServletPath

public String getServletPath()
Gets servletPath.

Returns:
servletPath

getContextPath

public String getContextPath()
Gets contextPath.

Returns:
contextPath

getQueryString

public String getQueryString()
Gets the query string.

Returns:
the query string

of

public static ForwardAttributes of(javax.servlet.http.HttpServletRequest request,
                                   String filterPrefix)
Factory for creating instances of this class.

Parameters:
request -
Returns:
instance of request contains forward attributes or null if it does not.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.