com.ning.http.client
Class Cookie

java.lang.Object
  extended by com.ning.http.client.Cookie

public class Cookie
extends Object


Constructor Summary
Cookie(String domain, String name, String value, String path, int maxAge, boolean secure)
           
Cookie(String domain, String name, String value, String path, int maxAge, boolean secure, int version)
           
 
Method Summary
 String getDomain()
           
 int getMaxAge()
           
 String getName()
           
 String getPath()
           
 Set<Integer> getPorts()
           
 String getValue()
           
 int getVersion()
           
 boolean isSecure()
           
 void setPorts(int... ports)
           
 void setPorts(Iterable<Integer> ports)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cookie

public Cookie(String domain,
              String name,
              String value,
              String path,
              int maxAge,
              boolean secure)

Cookie

public Cookie(String domain,
              String name,
              String value,
              String path,
              int maxAge,
              boolean secure,
              int version)
Method Detail

getDomain

public String getDomain()

getName

public String getName()

getValue

public String getValue()

getPath

public String getPath()

getMaxAge

public int getMaxAge()

isSecure

public boolean isSecure()

getVersion

public int getVersion()

getPorts

public Set<Integer> getPorts()

setPorts

public void setPorts(int... ports)

setPorts

public void setPorts(Iterable<Integer> ports)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.