Uses of Interface
org.springframework.http.ResponseCookie.ResponseCookieBuilder
Packages that use ResponseCookie.ResponseCookieBuilder
Package
Description
Contains a basic abstraction over client/server-side HTTP.
Auxiliary interfaces and implementation classes for
 
WebSession support.- 
Uses of ResponseCookie.ResponseCookieBuilder in org.springframework.http
Methods in org.springframework.http that return ResponseCookie.ResponseCookieBuilderModifier and TypeMethodDescriptionSet the cookie "Domain" attribute.Factory method to obtain a builder for a server-defined cookie that starts with a name-value pair and may also include attributes.ResponseCookie.fromClientResponse(String name, String value) Factory method to obtain a builder for a server-defined cookie.ResponseCookie.ResponseCookieBuilder.httpOnly(boolean httpOnly) Add the "HttpOnly" attribute to the cookie.ResponseCookie.ResponseCookieBuilder.maxAge(long maxAgeSeconds) Variant ofmaxAge(Duration)accepting a value in seconds.Set the cookie "Max-Age" attribute.Set the cookie "Path" attribute.Add the "SameSite" attribute to the cookie.ResponseCookie.ResponseCookieBuilder.secure(boolean secure) Add the "Secure" attribute to the cookie. - 
Uses of ResponseCookie.ResponseCookieBuilder in org.springframework.web.server.session
Method parameters in org.springframework.web.server.session with type arguments of type ResponseCookie.ResponseCookieBuilderModifier and TypeMethodDescriptionvoidCookieWebSessionIdResolver.addCookieInitializer(Consumer<ResponseCookie.ResponseCookieBuilder> initializer) Add aConsumerfor aResponseCookieBuilderthat will be invoked for each cookie being built, just before the call tobuild().