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 CookieSameSiteSupplierCookieSameSiteSupplier.of(Cookie.SameSite sameSite) Return a newCookieSameSiteSupplierthat always returns the givenCookie.SameSitevalue.static CookieSameSiteSupplierCookieSameSiteSupplier.ofLax()Return a newCookieSameSiteSupplierthat always returnsCookie.SameSite.LAX.static CookieSameSiteSupplierCookieSameSiteSupplier.ofNone()Return a newCookieSameSiteSupplierthat always returnsCookie.SameSite.NONE.static CookieSameSiteSupplierCookieSameSiteSupplier.ofStrict()Return a newCookieSameSiteSupplierthat always returnsCookie.SameSite.STRICT.default CookieSameSiteSupplierLimit this supplier so that it's only called if the predicate accepts the Cookie.default CookieSameSiteSupplierCookieSameSiteSupplier.whenHasName(String name) Limit this supplier so that it's only called if the Cookie has the given name.default CookieSameSiteSupplierCookieSameSiteSupplier.whenHasName(Supplier<String> nameSupplier) Limit this supplier so that it's only called if the Cookie has the given name.default CookieSameSiteSupplierCookieSameSiteSupplier.whenHasNameMatching(String regex) Limit this supplier so that it's only called if the Cookie name matches the given regex.default CookieSameSiteSupplierCookieSameSiteSupplier.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 voidConfigurableServletWebServerFactory.addCookieSameSiteSuppliers(CookieSameSiteSupplier... cookieSameSiteSuppliers) AddCookieSameSiteSuppliersto those that should be used to obtain theCookie.SameSiteattribute of any added cookie.voidServletWebServerSettings.addCookieSameSiteSuppliers(CookieSameSiteSupplier... cookieSameSiteSuppliers) Method parameters in org.springframework.boot.web.server.servlet with type arguments of type CookieSameSiteSupplierModifier and TypeMethodDescriptiondefault voidConfigurableServletWebServerFactory.setCookieSameSiteSuppliers(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers) SetsCookieSameSiteSuppliersthat should be used to obtain theCookie.SameSiteattribute of any added cookie.voidServletWebServerSettings.setCookieSameSiteSuppliers(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers)