Uses of Interface
org.springframework.boot.web.servlet.server.CookieSameSiteSupplier
Packages that use CookieSameSiteSupplier
-
Uses of CookieSameSiteSupplier in org.springframework.boot.web.servlet.server
Methods in org.springframework.boot.web.servlet.server 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.servlet.server that return types with arguments of type CookieSameSiteSupplierMethods in org.springframework.boot.web.servlet.server with parameters of type CookieSameSiteSupplierModifier and TypeMethodDescriptionvoidAbstractServletWebServerFactory.addCookieSameSiteSuppliers(CookieSameSiteSupplier... cookieSameSiteSuppliers) voidConfigurableServletWebServerFactory.addCookieSameSiteSuppliers(CookieSameSiteSupplier... cookieSameSiteSuppliers) AddCookieSameSiteSuppliersto those that should be used to obtain theCookie.SameSiteattribute of any added cookie.Method parameters in org.springframework.boot.web.servlet.server with type arguments of type CookieSameSiteSupplierModifier and TypeMethodDescriptionvoidAbstractServletWebServerFactory.setCookieSameSiteSuppliers(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers) voidConfigurableServletWebServerFactory.setCookieSameSiteSuppliers(List<? extends CookieSameSiteSupplier> cookieSameSiteSuppliers) SetsCookieSameSiteSuppliersthat should be used to obtain theCookie.SameSiteattribute of any added cookie.