@CompileStatic class TestRequestConfigurer extends Object implements Request
Allows configuring the JSON view rendering for request state
| Constructor and description |
|---|
TestRequestConfigurer(JsonView jsonView) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
TestRequestConfigurer |
actionName(String actionName) |
|
TestRequestConfigurer |
attribute(String name, Object value) |
|
TestRequestConfigurer |
config(Config config) |
|
TestRequestConfigurer |
controllerName(String controllerName) |
|
TestRequestConfigurer |
controllerNamespace(String controllerNamespace) |
|
Object |
getAttribute(String name) |
|
Collection<String> |
getAttributeNames() |
|
String |
getHeader(String name) |
|
Collection<String> |
getHeaderNames() |
|
Collection<String> |
getHeaders(String name) |
|
TestRequestConfigurer |
header(String name, String value) |
|
TestRequestConfigurer |
method(String method) |
|
TestRequestConfigurer |
method(HttpMethod method) |
|
TestRequestConfigurer |
params(Map parameters) |
|
void |
setActionName(String actionName) |
|
void |
setConfig(Config config) |
|
void |
setControllerName(String controllerName) |
|
void |
setControllerNamespace(String controllerNamespace) |