类的使用
org.springframework.http.ResponseCookie
使用ResponseCookie的程序包 程序包 说明 org.springframework.http Contains a basic abstraction over client/server-side HTTP.org.springframework.http.client.reactive Abstractions for reactive HTTP client support includingClientHttpRequest
andClientHttpResponse
as well as aClientHttpConnector
.org.springframework.http.server.reactive Abstractions for reactive HTTP server support including aServerHttpRequest
andServerHttpResponse
along with anHttpHandler
for processing.org.springframework.mock.http.client.reactive Mock implementations of reactive HTTP client contracts.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.org.springframework.web.reactive.function.client.support Classes supporting theorg.springframework.web.reactive.function.client
package.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.http中ResponseCookie的使用
返回ResponseCookie的org.springframework.http中的方法 修饰符和类型 方法 说明 ResponseCookie
ResponseCookie.ResponseCookieBuilder. build()
Create the HttpCookie.org.springframework.http.client.reactive中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.http.client.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
ClientHttpResponse. getCookies()
Return a read-only map of response cookies received from the server.MultiValueMap<String,ResponseCookie>
ClientHttpResponseDecorator. getCookies()
org.springframework.http.server.reactive中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.http.server.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
AbstractServerHttpResponse. getCookies()
MultiValueMap<String,ResponseCookie>
ServerHttpResponse. getCookies()
Return a mutable map with the cookies to send to the server.MultiValueMap<String,ResponseCookie>
ServerHttpResponseDecorator. getCookies()
参数类型为ResponseCookie的org.springframework.http.server.reactive中的方法 修饰符和类型 方法 说明 void
AbstractServerHttpResponse. addCookie(ResponseCookie cookie)
void
ServerHttpResponse. addCookie(ResponseCookie cookie)
Add the givenResponseCookie
.void
ServerHttpResponseDecorator. addCookie(ResponseCookie cookie)
org.springframework.mock.http.client.reactive中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.mock.http.client.reactive中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
MockClientHttpResponse. getCookies()
org.springframework.test.web.reactive.server中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.test.web.reactive.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
ExchangeResult. getResponseCookies()
Return response cookies received from the server.org.springframework.web.reactive.function.client中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.web.reactive.function.client中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
ClientResponse. cookies()
Return the cookies of this response.类型变量类型为ResponseCookie的org.springframework.web.reactive.function.client中的方法参数 修饰符和类型 方法 说明 ClientResponse.Builder
ClientResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.org.springframework.web.reactive.function.client.support中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.web.reactive.function.client.support中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
ClientResponseWrapper. cookies()
org.springframework.web.reactive.function.server中ResponseCookie的使用
返回变量类型为ResponseCookie的类型的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 MultiValueMap<String,ResponseCookie>
ServerResponse. cookies()
Return the cookies of this response.参数类型为ResponseCookie的org.springframework.web.reactive.function.server中的方法 修饰符和类型 方法 说明 EntityResponse.Builder<T>
EntityResponse.Builder. cookie(ResponseCookie cookie)
Add the given cookie to the response.RenderingResponse.Builder
RenderingResponse.Builder. cookie(ResponseCookie cookie)
Add the given cookie to the response.B
ServerResponse.HeadersBuilder. cookie(ResponseCookie cookie)
Add the given cookie to the response.类型变量类型为ResponseCookie的org.springframework.web.reactive.function.server中的方法参数 修饰符和类型 方法 说明 EntityResponse.Builder<T>
EntityResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.RenderingResponse.Builder
RenderingResponse.Builder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.B
ServerResponse.HeadersBuilder. cookies(Consumer<MultiValueMap<String,ResponseCookie>> cookiesConsumer)
Manipulate this response's cookies with the given consumer.