Uses of Interface
org.springframework.mock.http.server.reactive.MockServerHttpRequest.BodyBuilder
Package
Description
Mock implementations of reactive HTTP server contracts.
-
Uses of MockServerHttpRequest.BodyBuilder in org.springframework.mock.http.server.reactive
Modifier and TypeMethodDescriptionMockServerHttpRequest.BodyBuilder.contentLength
(long contentLength) Set the length of the body in bytes, as specified by theContent-Length
header.MockServerHttpRequest.BodyBuilder.contentType
(MediaType contentType) Set the media type of the body, as specified by theContent-Type
header.Deprecated.MockServerHttpRequest.method
(HttpMethod method, String uri, Object... vars) Alternative toMockServerHttpRequest.method(HttpMethod, URI)
that accepts a URI template.MockServerHttpRequest.method
(HttpMethod method, URI url) Create a builder with the given HTTP method and aURI
.HTTP PATCH variant.HTTP POST variant.HTTP PUT variant.
MockServerHttpRequest.method(HttpMethod, String, Object...)