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 |
---|---|
OperationRequestPart |
OperationRequestPartFactory.create(java.lang.String name,
java.lang.String submittedFileName,
byte[] content,
org.springframework.http.HttpHeaders headers)
Creates a new
OperationRequestPart . |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<OperationRequestPart> |
OperationRequest.getParts()
Returns the request's parts, provided that it is a multipart request.
|
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 . |