Uses of Interface
org.springframework.web.reactive.function.server.ServerRequest.Builder
Packages that use ServerRequest.Builder
Package
Description
Provides the types that make up Spring's functional web framework for Reactive environments.
-
Uses of ServerRequest.Builder in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return ServerRequest.BuilderModifier and TypeMethodDescriptionAdd an attribute with the given name and value.ServerRequest.Builder.attributes(Consumer<Map<String, Object>> attributesConsumer) Manipulate this request's attributes with the given consumer.Set the body of the request to the UTF-8 encoded bytes of the given string.ServerRequest.Builder.body(reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> body) Set the body of the request.ServerRequest.Builder.contextPath(String contextPath) Set the context path of the request.Add a cookie with the given name and value(s).ServerRequest.Builder.cookies(Consumer<org.springframework.util.MultiValueMap<String, org.springframework.http.HttpCookie>> cookiesConsumer) Manipulate this request's cookies with the given consumer.static ServerRequest.BuilderServerRequest.from(ServerRequest other) Create a builder with the message readers, method name, URI, headers, cookies, and attributes of the given request.Add the given header value(s) under the given name.Manipulate this request's headers with the given consumer.ServerRequest.Builder.method(org.springframework.http.HttpMethod method) Set the method of the request.Set the URI of the request.