org.eclipse.jetty.http
类 HttpCookie

java.lang.Object
  继承者 org.eclipse.jetty.http.HttpCookie

public class HttpCookie
extends Object


构造方法摘要
HttpCookie(String name, String value)
           
HttpCookie(String name, String value, int maxAge)
           
HttpCookie(String name, String value, String domain, String path)
           
HttpCookie(String name, String value, String domain, String path, int maxAge, boolean httpOnly, boolean secure)
           
HttpCookie(String name, String value, String domain, String path, int maxAge, boolean httpOnly, boolean secure, String comment, int version)
           
 
方法摘要
 String getComment()
          Get the comment.
 String getDomain()
          Get the domain.
 int getMaxAge()
          Get the maxAge.
 String getName()
          Get the name.
 String getPath()
          Get the path.
 String getValue()
          Get the value.
 int getVersion()
          Get the version.
 boolean isHttpOnly()
          Get the isHttpOnly.
 boolean isSecure()
          Get the secure.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HttpCookie

public HttpCookie(String name,
                  String value)

HttpCookie

public HttpCookie(String name,
                  String value,
                  String domain,
                  String path)

HttpCookie

public HttpCookie(String name,
                  String value,
                  int maxAge)

HttpCookie

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

HttpCookie

public HttpCookie(String name,
                  String value,
                  String domain,
                  String path,
                  int maxAge,
                  boolean httpOnly,
                  boolean secure,
                  String comment,
                  int version)
方法详细信息

getName

public String getName()
Get the name.

返回:
the name

getValue

public String getValue()
Get the value.

返回:
the value

getComment

public String getComment()
Get the comment.

返回:
the comment

getDomain

public String getDomain()
Get the domain.

返回:
the domain

getMaxAge

public int getMaxAge()
Get the maxAge.

返回:
the maxAge

getPath

public String getPath()
Get the path.

返回:
the path

isSecure

public boolean isSecure()
Get the secure.

返回:
the secure

getVersion

public int getVersion()
Get the version.

返回:
the version

isHttpOnly

public boolean isHttpOnly()
Get the isHttpOnly.

返回:
the isHttpOnly


Copyright © 2013. All Rights Reserved.