Uses of Interface
org.springframework.http.server.reactive.ServerHttpRequest.Builder
Package
Description
Abstractions for reactive HTTP server support including a
ServerHttpRequest
and
ServerHttpResponse
along with an
HttpHandler
for processing.Core interfaces and classes for Spring's generic, reactive web support.
-
Uses of ServerHttpRequest.Builder in org.springframework.http.server.reactive
Modifier and TypeMethodDescriptionServerHttpRequest.Builder.contextPath
(String contextPath) Set the contextPath to use.Set or override the specified header values under the given name.ServerHttpRequest.Builder.headers
(Consumer<HttpHeaders> headersConsumer) Manipulate request headers.ServerHttpRequest.Builder.method
(HttpMethod httpMethod) Set the HTTP method to return.default ServerHttpRequest.Builder
ServerHttpRequest.mutate()
Return a builder to mutate properties of this request by wrapping it withServerHttpRequestDecorator
and returning either mutated values or delegating back to this instance.Set the path to use instead of the"rawPath"
of the URI of the request with the following conditions: Ifuri
is also set, the path given here overrides the path of the given URI.ServerHttpRequest.Builder.remoteAddress
(InetSocketAddress remoteAddress) Set the address of the remote client.Set the SSL session information.Set the URI to use with the following conditions: Ifpath
is also set, it overrides the path of the URI provided here. -
Uses of ServerHttpRequest.Builder in org.springframework.web.server
Modifier and TypeMethodDescriptionServerWebExchange.Builder.request
(Consumer<ServerHttpRequest.Builder> requestBuilderConsumer) Configure a consumer to modify the current request using a builder.