Package | Description |
---|---|
org.springframework.restdocs.operation |
Operation API that describes a request that was sent and the response that was received
when calling a RESTful API.
|
Modifier and Type | Method and Description |
---|---|
Parameters |
OperationRequest.getParameters()
Returns the request's parameters.
|
Parameters |
Parameters.getUniqueParameters(java.net.URI uri)
Returns a new
Parameters containing only the parameters that do no appear
in the query string of the given uri . |
Parameters |
QueryStringParser.parse(java.net.URI uri)
Parses the query string of the given
uri and returns the resulting
Parameters . |
Modifier and Type | Method and Description |
---|---|
OperationRequest |
OperationRequestFactory.create(java.net.URI uri,
org.springframework.http.HttpMethod method,
byte[] content,
org.springframework.http.HttpHeaders headers,
Parameters parameters,
java.util.Collection<OperationRequestPart> parts)
Creates a new
OperationRequest . |
OperationRequest |
OperationRequestFactory.create(java.net.URI uri,
org.springframework.http.HttpMethod method,
byte[] content,
org.springframework.http.HttpHeaders headers,
Parameters parameters,
java.util.Collection<OperationRequestPart> parts,
java.util.Collection<RequestCookie> cookies)
Creates a new
OperationRequest . |
OperationRequest |
OperationRequestFactory.createFrom(OperationRequest original,
Parameters newParameters)
Creates a new
OperationRequest based on the given original but with
the given newParameters applied. |