Class 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 Detail

      • CookiesBuilder

        public CookiesBuilder()
    • Method Detail

      • 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".