Class CookiesBuilder

java.lang.Object
org.glassfish.grizzly.http.CookiesBuilder

public class CookiesBuilder extends Object
Cookies builder, which could be used to construct a set of cookies, either client or server.
Author:
Alexey Stashok
  • Constructor Details

    • CookiesBuilder

      public CookiesBuilder()
  • Method Details

    • client

      public static CookiesBuilder.ClientCookiesBuilder client()
      Returns the client-side cookies builder.
      Returns:
      the client-side cookies builder.
    • client

      public static CookiesBuilder.ClientCookiesBuilder client(boolean strictVersionOneCompliant)
      Returns the client-side cookies builder with the specific "strict cookie version compliance".
      Returns:
      the client-side cookies builder with the specific "strict cookie version compliance".
    • client

      public static CookiesBuilder.ClientCookiesBuilder client(boolean strictVersionOneCompliant, boolean rfc6265Enabled)
      Returns the client-side cookies builder with the specific "strict cookie version compliance".
      Returns:
      the client-side cookies builder with the specific "strict cookie version compliance".
    • server

      public static CookiesBuilder.ServerCookiesBuilder server()
      Returns the server-side cookies builder with the specific "strict cookie version compliance".
      Returns:
      the server-side cookies builder with the specific "strict cookie version compliance".
    • server

      public static CookiesBuilder.ServerCookiesBuilder server(boolean strictVersionOneCompliant)
      Returns the server-side cookies builder with the specific "strict cookie version compliance".
      Returns:
      the server-side cookies builder with the specific "strict cookie version compliance".
    • server

      public static CookiesBuilder.ServerCookiesBuilder server(boolean strictVersionOneCompliant, boolean rfc6265Enabled)
      Returns the server-side cookies builder with the specific "strict cookie version compliance".
      Returns:
      the server-side cookies builder with the specific "strict cookie version compliance".