java.lang.Object
org.glassfish.grizzly.http.CookiesBuilder
Cookies builder, which could be used to construct a set of cookies, either client or server.
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclient()Returns the client-side cookies builder.client(boolean strictVersionOneCompliant) Returns the client-side cookies builder with the specific "strict cookie version compliance".client(boolean strictVersionOneCompliant, boolean rfc6265Enabled) Returns the client-side cookies builder with the specific "strict cookie version compliance".server()Returns the server-side cookies builder with the specific "strict cookie version compliance".server(boolean strictVersionOneCompliant) Returns the server-side cookies builder with the specific "strict cookie version compliance".server(boolean strictVersionOneCompliant, boolean rfc6265Enabled) Returns the server-side cookies builder with the specific "strict cookie version compliance".
-
Constructor Details
-
CookiesBuilder
public CookiesBuilder()
-
-
Method Details
-
client
Returns the client-side cookies builder.- Returns:
- the client-side cookies builder.
-
client
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
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
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".
-