Class ClientCookieDecoder.CookieBuilder

java.lang.Object
io.netty.handler.codec.http.cookie.ClientCookieDecoder.CookieBuilder
Enclosing class:
ClientCookieDecoder

private static class ClientCookieDecoder.CookieBuilder extends Object
  • Field Details

    • domain

      private String domain
    • path

      private String path
    • maxAge

      private long maxAge
    • expiresStart

      private int expiresStart
    • expiresEnd

      private int expiresEnd
    • secure

      private boolean secure
    • httpOnly

      private boolean httpOnly
    • sameSite

      private CookieHeaderNames.SameSite sameSite
    • partitioned

      private boolean partitioned
  • Constructor Details

  • Method Details

    • mergeMaxAgeAndExpires

      private long mergeMaxAgeAndExpires()
    • cookie

      Cookie cookie()
    • appendAttribute

      void appendAttribute(int keyStart, int keyEnd, int valueStart, int valueEnd)
      Parse and store a key-value pair. First one is considered to be the cookie name/value. Unknown attribute names are silently discarded.
      Parameters:
      keyStart - where the key starts in the header
      keyEnd - where the key ends in the header
      valueStart - where the value starts in the header
      valueEnd - where the value ends in the header
    • parse4

      private void parse4(int nameStart, int valueStart, int valueEnd)
    • parse6

      private void parse6(int nameStart, int valueStart, int valueEnd)
    • setMaxAge

      private void setMaxAge(String value)
    • parse7

      private void parse7(int nameStart, int valueStart, int valueEnd)
    • parse8

      private void parse8(int nameStart, int valueStart, int valueEnd)
    • parse11

      private void parse11(int nameStart)
    • isValueDefined

      private static boolean isValueDefined(int valueStart, int valueEnd)
    • computeValue

      private String computeValue(int valueStart, int valueEnd)