Uses of Interface
org.springframework.boot.web.server.servlet.CookieSameSiteSupplier
Packages that use CookieSameSiteSupplier
-
Uses of CookieSameSiteSupplier in org.springframework.boot.web.server.servlet
Methods in org.springframework.boot.web.server.servlet that return CookieSameSiteSupplierModifier and TypeMethodDescriptionstatic CookieSameSiteSupplier
CookieSameSiteSupplier.of
(Cookie.SameSite sameSite) Return a newCookieSameSiteSupplier
that always returns the givenCookie.SameSite
value.static CookieSameSiteSupplier
CookieSameSiteSupplier.ofLax()
Return a newCookieSameSiteSupplier
that always returnsCookie.SameSite.LAX
.static CookieSameSiteSupplier
CookieSameSiteSupplier.ofNone()
Return a newCookieSameSiteSupplier
that always returnsCookie.SameSite.NONE
.static CookieSameSiteSupplier
CookieSameSiteSupplier.ofStrict()
Return a newCookieSameSiteSupplier
that always returnsCookie.SameSite.STRICT
.default CookieSameSiteSupplier
Limit this supplier so that it's only called if the predicate accepts the Cookie.default CookieSameSiteSupplier
CookieSameSiteSupplier.whenHasName
(String name) Limit this supplier so that it's only called if the Cookie has the given name.default CookieSameSiteSupplier
CookieSameSiteSupplier.whenHasName
(Supplier<String> nameSupplier) Limit this supplier so that it's only called if the Cookie has the given name.default CookieSameSiteSupplier
CookieSameSiteSupplier.whenHasNameMatching
(String regex) Limit this supplier so that it's only called if the Cookie name matches the given regex.default CookieSameSiteSupplier
CookieSameSiteSupplier.whenHasNameMatching
(Pattern pattern) Limit this supplier so that it's only called if the Cookie name matches the givenPattern
.Methods in org.springframework.boot.web.server.servlet that return types with arguments of type CookieSameSiteSupplierModifier and TypeMethodDescriptionList
<? extends CookieSameSiteSupplier> ServletWebServerSettings.getCookieSameSiteSuppliers()
Methods in org.springframework.boot.web.server.servlet with parameters of type CookieSameSiteSupplierModifier and TypeMethodDescriptiondefault void
ConfigurableServletWebServerFactory.addCookieSameSiteSuppliers
(CookieSameSiteSupplier... cookieSameSiteSuppliers) AddCookieSameSiteSuppliers
to those that should be used to obtain theCookie.SameSite
attribute of any added cookie.void
ServletWebServerSettings.addCookieSameSiteSuppliers
(CookieSameSiteSupplier... cookieSameSiteSuppliers) Method parameters in org.springframework.boot.web.server.servlet with type arguments of type CookieSameSiteSupplierModifier and TypeMethodDescriptiondefault void
ConfigurableServletWebServerFactory.setCookieSameSiteSuppliers
(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers) SetsCookieSameSiteSuppliers
that should be used to obtain theCookie.SameSite
attribute of any added cookie.void
ServletWebServerSettings.setCookieSameSiteSuppliers
(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers)