Class DefaultServerCookieDecoder

java.lang.Object
io.micronaut.http.cookie.DefaultServerCookieDecoder
All Implemented Interfaces:
ServerCookieDecoder

@Internal public final class DefaultServerCookieDecoder extends Object implements ServerCookieDecoder
Since:
4.3.0
Author:
Sergio del Amo
  • Constructor Details

    • DefaultServerCookieDecoder

      public DefaultServerCookieDecoder()
  • Method Details

    • decode

      public @NonNull List<Cookie> decode(@NonNull String header)
      Description copied from interface: ServerCookieDecoder
      Constructs cookies from an HTTP header string.
      Specified by:
      decode in interface ServerCookieDecoder
      Parameters:
      header - The Set-Cookie header value
      Returns:
      a List of Cookies