com.ning.http.client.cookie
Class Cookie

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

public class Cookie
extends Object


Constructor Summary
Cookie(String name, String value, String rawValue, String domain, String path, long expires, int maxAge, boolean secure, boolean httpOnly)
           
 
Method Summary
 String getDomain()
           
 long getExpires()
           
 int getMaxAge()
           
 String getName()
           
 String getPath()
           
 String getRawValue()
           
 String getValue()
           
 boolean isHttpOnly()
           
 boolean isSecure()
           
static Cookie newValidCookie(String name, String value, String domain, String rawValue, String path, long expires, int maxAge, boolean secure, boolean httpOnly)
           
 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 name,
              String value,
              String rawValue,
              String domain,
              String path,
              long expires,
              int maxAge,
              boolean secure,
              boolean httpOnly)
Method Detail

newValidCookie

public static Cookie newValidCookie(String name,
                                    String value,
                                    String domain,
                                    String rawValue,
                                    String path,
                                    long expires,
                                    int maxAge,
                                    boolean secure,
                                    boolean httpOnly)

getDomain

public String getDomain()

getName

public String getName()

getValue

public String getValue()

getRawValue

public String getRawValue()

getPath

public String getPath()

getExpires

public long getExpires()

getMaxAge

public int getMaxAge()

isSecure

public boolean isSecure()

isHttpOnly

public boolean isHttpOnly()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.