Interface OutboundSetCookies

All Superinterfaces:
InboundSetCookies

public interface OutboundSetCookies extends InboundSetCookies

Represents mutable outbound HTTP set-cookies.

Since:
1.6
Author:
Jeremy Kuhn
See Also:
  • Method Details

    • addCookie

      default OutboundSetCookies addCookie(String name, String value)

      Adds a set-cookie with the specified name and value.

      Parameters:
      name - a cookie name
      value - a cookie value
      Returns:
      the outbound set-cookies
    • addCookie

      Adds a set-cookie.

      Parameters:
      configurer - a set-cookie configurer
      Returns:
      the outbound set-cookies