Interface ServerCookieDecoder

All Known Implementing Classes:
DefaultServerCookieDecoder, NettyLaxServerCookieDecoder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ServerCookieDecoder
Constructs cookies from an HTTP header string.
Since:
4.3.0
Author:
Sergio del Amo
  • Field Details

  • Method Details

    • decode

      List<Cookie> decode(String headerValue)
      Constructs cookies from an HTTP header string.
      Parameters:
      headerValue - The Set-Cookie header value
      Returns:
      a List of Cookies