@groovy.transform.CompileStatic class TestRequestConfigurer extends java.lang.Object
Allows configuring the JSON view rendering for request state
Type | Name and description |
---|---|
java.lang.String |
characterEncoding |
java.lang.String |
contentType |
java.lang.String |
contextPath |
java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
headers |
JsonView |
jsonView |
java.lang.String |
method |
java.lang.String |
uri |
Constructor and description |
---|
TestRequestConfigurer
(JsonView jsonView) |
Type | Name and description |
---|---|
TestRequestConfigurer |
actionName(java.lang.String actionName) |
TestRequestConfigurer |
controllerName(java.lang.String controllerName) |
TestRequestConfigurer |
controllerNamespace(java.lang.String controllerNamespace) |
java.lang.String |
getHeader(java.lang.String name) |
java.util.Collection<java.lang.String> |
getHeaderNames() |
java.util.Collection<java.lang.String> |
getHeaders(java.lang.String name) |
TestRequestConfigurer |
header(java.lang.String name, java.lang.String value) |
TestRequestConfigurer |
method(java.lang.String method) |
TestRequestConfigurer |
method(org.springframework.http.HttpMethod method) |
TestRequestConfigurer |
params(java.util.Map parameters) |
void |
setActionName(java.lang.String actionName) |
void |
setControllerName(java.lang.String controllerName) |
void |
setControllerNamespace(java.lang.String controllerNamespace) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation