org.glassfish.grizzly.http
Class CookiesBuilder

java.lang.Object
  extended by 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
static class CookiesBuilder.AbstractCookiesBuilder<E extends CookiesBuilder.AbstractCookiesBuilder>
           
static class CookiesBuilder.ClientCookiesBuilder
           
static class CookiesBuilder.ServerCookiesBuilder
           
 
Constructor Summary
CookiesBuilder()
           
 
Method Summary
static CookiesBuilder.ClientCookiesBuilder client()
          Returns the client-side cookies builder.
static CookiesBuilder.ClientCookiesBuilder client(boolean strictVersionOneCompliant)
          Returns the client-side cookies builder with the specific "strict cookie version compliance".
static CookiesBuilder.ServerCookiesBuilder server()
          Returns the server-side cookies builder with the specific "strict cookie version compliance".
static CookiesBuilder.ServerCookiesBuilder server(boolean strictVersionOneCompliant)
          Returns the server-side cookies builder with the specific "strict cookie version compliance".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookiesBuilder

public CookiesBuilder()
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".

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


Copyright © 2010 Oracle Corpration. All Rights Reserved.