Package org.glassfish.grizzly.http
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCookiesBuilder.AbstractCookiesBuilder<E extends CookiesBuilder.AbstractCookiesBuilder>static classCookiesBuilder.ClientCookiesBuilderstatic classCookiesBuilder.ServerCookiesBuilder
-
Constructor Summary
Constructors Constructor Description CookiesBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CookiesBuilder.ClientCookiesBuilderclient()Returns the client-side cookies builder.static CookiesBuilder.ClientCookiesBuilderclient(boolean strictVersionOneCompliant)Returns the client-side cookies builder with the specific "strict cookie version compliance".static CookiesBuilder.ClientCookiesBuilderclient(boolean strictVersionOneCompliant, boolean rfc6265Enabled)Returns the client-side cookies builder with the specific "strict cookie version compliance".static CookiesBuilder.ServerCookiesBuilderserver()Returns the server-side cookies builder with the specific "strict cookie version compliance".static CookiesBuilder.ServerCookiesBuilderserver(boolean strictVersionOneCompliant)Returns the server-side cookies builder with the specific "strict cookie version compliance".static CookiesBuilder.ServerCookiesBuilderserver(boolean strictVersionOneCompliant, boolean rfc6265Enabled)Returns the server-side cookies builder with the specific "strict cookie version compliance".
-
-
-
Method Detail
-
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".
-
-