Contains all HTTP request data for a test case. It is the data that will be sent to the server redirector and that will be available to the test methods through the HttpServletRequest object.
Namely, it is :
Request parameters that the test case can retrieve using HttpServletRequest.getParameters(),
Cookies that the test case can retrieve using HttpServletRequest.getCookies(),
HTTP headers that the test case can retrieve using the HttpServletRequest.getHeader(), getHeaders(), ... APIs,
URL data the the test case can retrieve using HttpServletRequest.getRequestURI(), ...
Whether you want the server redirector to automatically create a session for you or not,
Whether you want the HTTP connection to the server redirector to use a POST or GET method. Default is POST
Contains information about the current request, including URLs, schemes, parameters, properties and attributes. This is essentially a generic version of {@link javax.servlet.http.HttpServletRequest}. In some cases, certain methods will be unsupported in some implementations (such as {@link #getHeader(String)} for Portlet Tapestry).
@author Howard M. Lewis Ship
@since 4.0
Subclass of Request for HTTP protocol requests which holds an underlying HttpServletRequest object. A variety of convenience methods are available that operate on the HttpServletRequest object. These methods do things such as providing access to parameters, cookies, URLs and path information.
@author Jonathan Locke
Generic interface for a web request. Mainly intended for generic web request interceptors, giving them access to general request metadata, not for actual handling of the request.
@author Juergen Hoeller
@since 2.0
@see WebRequestInterceptor
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.