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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ServerCookieDecoder
    The default ServerCookieDecoder instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull List<Cookie>
    decode(@NonNull String headerValue)
    Constructs cookies from an HTTP header string.
  • Field Details

  • Method Details

    • decode

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