|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.hizlab.kagetaka.cookie.Cookie
クッキーを表すクラスです。
コンストラクタの概要 | |
Cookie(String data,
URL url,
boolean strict)
Set-Cookie ヘッダーの文字列から、新しいクッキーを作成します。 |
メソッドの概要 | |
String |
getDomain()
ドメイン名を返します。 |
long |
getExpires()
有効期限を返します。 |
String |
getFullValue()
クッキーの名前と値の組を返します。 |
String |
getName()
クッキー名を返します。 |
String |
getPath()
パスを返します。 |
String |
getValue()
クッキーの値を返します。 |
boolean |
isSecure()
セキュアが指定されているかを返します。 |
boolean |
isTargetHost(String host)
指定されたホストが、このクッキーの対象かどうかを返します。 |
boolean |
isTargetPath(String path)
指定されたパスが、このクッキーの対象かどうかを返します。 |
String |
toString()
文字列に変換します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public Cookie(String data, URL url, boolean strict) throws ParseException
Set-Cookie
ヘッダーの文字列から、新しいクッキーを作成します。
data
- Set-Cookie
ヘッダーの文字列url
- クッキーを送ってきた URL
ParseException
- 不正なフォーマットの場合メソッドの詳細 |
public String getDomain()
public long getExpires()
public String getFullValue()
public String getName()
public String getPath()
public String getValue()
public boolean isSecure()
true
、
それ以外の場合は false
public boolean isTargetHost(String host)
host
- 調べるホスト
true
、
それ以外の場合は false
public boolean isTargetPath(String path)
path
- 調べるパス
true
、
それ以外の場合は false
public String toString()
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2003 The Kagetaka Project 'September 12, 2003'