接口的使用
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.BuilderServerWebExchange. mutate()Return a builder to mutate properties of this exchange by wrapping it withServerWebExchangeDecoratorand returning either mutated values or delegating back to this instance.ServerWebExchange.BuilderServerWebExchange.Builder. principal(reactor.core.publisher.Mono<Principal> principalMono)Set theMono<Principal>to return for this exchange.ServerWebExchange.BuilderServerWebExchange.Builder. request(Consumer<ServerHttpRequest.Builder> requestBuilderConsumer)Configure a consumer to modify the current request using a builder.ServerWebExchange.BuilderServerWebExchange.Builder. request(ServerHttpRequest request)Set the request to use especially when there is a need to overrideServerHttpRequestmethods.ServerWebExchange.BuilderServerWebExchange.Builder. response(ServerHttpResponse response)Set the response to use.