The original request that this FakeRequest
wraps.
Returns the current method
Constructs a new request with additional Cookies.
Constructs a new request with additional Flash.
Set a Form url encoded body to this request.
Constructs a new request with additional headers.
Constructs a new request with additional headers. Any existing headers of the same name will be replaced.
Adds a JSON body to the request.
Adds a multipart form data body to the request
Adds a raw body to the request
Constructs a new request with additional session.
Adds a text body to the request.
Adds an XML body to the request.
A
Request
with a few extra methods that are useful for testing.the body content type.