接口的使用
org.springframework.web.server.ServerWebExchange.Builder
使用ServerWebExchange.Builder的程序包 程序包 说明 org.springframework.web.server Core interfaces and classes for Spring's generic, reactive web support.org.springframework.web.server中ServerWebExchange.Builder的使用
返回ServerWebExchange.Builder的org.springframework.web.server中的方法 修饰符和类型 方法 说明 default ServerWebExchange.Builder
ServerWebExchange. mutate()
Return a builder to mutate properties of this exchange by wrapping it withServerWebExchangeDecorator
and returning either mutated values or delegating back to this instance.ServerWebExchange.Builder
ServerWebExchange.Builder. principal(reactor.core.publisher.Mono<Principal> principalMono)
Set theMono<Principal>
to return for this exchange.ServerWebExchange.Builder
ServerWebExchange.Builder. request(Consumer<ServerHttpRequest.Builder> requestBuilderConsumer)
Configure a consumer to modify the current request using a builder.ServerWebExchange.Builder
ServerWebExchange.Builder. request(ServerHttpRequest request)
Set the request to use especially when there is a need to overrideServerHttpRequest
methods.ServerWebExchange.Builder
ServerWebExchange.Builder. response(ServerHttpResponse response)
Set the response to use.