Uses of Class
org.javalite.activeweb.RequestBuilder
Packages that use RequestBuilder
-
Uses of RequestBuilder in org.javalite.activeweb
Methods in org.javalite.activeweb that return RequestBuilderModifier and TypeMethodDescriptionRequestBuilder.content(byte[] content)Use to post content to a tested controller.Use to post content to a tested controller.RequestBuilder.contentType(String contentType)Sets content type on request.protected RequestBuilderAppIntegrationSpec.controller(String controllerPath)Takes controller path.protected RequestBuilderIntegrationSpec.controller(String controllerName)Adds cookie to current request.Sets format for this request.Convenience method to add a non-file form item to request.RequestBuilder.formItem(String fileName, String fieldName, boolean isFile, String contentType, byte[] content)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.RequestBuilder.queryString(String queryString)Sets a query string (as in URL) for the request.RequestBuilder.remoteAddress(String remoteAddress)Use to simulate a remote IP address.protected RequestBuilderControllerSpec.request()Use this DSL-ish method to send requests to controllers from specs.