ActiveWeb - the agile java framework
-
RequestBuilder.content(byte[] content)
Use to post content to a tested controller.
Use to post content to a tested controller.
Sets content type on request.
Adds cookie to current request.
Sets format for this request.
Convenience method to add a non-file form item to request.
Adds an "uploaded" file to the request.
Adds "uploaded" file to the request.
Convenience method for sending pairs of name and values with multi-part request.
Sets a single header for the request.
Convenience method to set names and values for headers.
Sets ID for this request.
Convenience method, exists to pass parameters with blank values.
Sets a single parameter for request.
Convenience method for setting parameters of the request.
Sets a query string (as in URL) for the request.
Use to simulate a remote IP address.
Use this DSL-ish method to send requests to controllers from specs.