|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.net.URLConnection
net.hizlab.kagetaka.viewer.CachedURLConnection
キャッシュをサポートする http
プロトコルのコネクションを表します。
フィールドの概要 |
クラス java.net.URLConnection から継承したフィールド |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
メソッドの概要 | |
void |
connect()
接続を行います。 |
String |
getCachePath()
キャッシュファイルのパスを返します。 |
String |
getContentEncoding()
コンテンツエンコーディングを返します。 |
int |
getContentLength()
コンテンツのサイズを返します。 |
String |
getContentType()
コンテンツタイプを返します。 |
long |
getDate()
コンテンツの取得日を返します。 |
long |
getExpiration()
有効期限を返します。 |
String |
getHeaderField(String name)
指定された名前のヘッダーの値を返します |
InputStream |
getInputStream()
レスポンスを読み込む入力ストリームを戻します。 |
long |
getLastModified()
コンテンツの最終更新日を返します。 |
void |
removeCache()
キャッシュデータを破棄します。 |
void |
setupCache(CacheManager cm,
PostData pd)
キャッシュマネージャを使用できるようにセットアップします。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
メソッドの詳細 |
public void connect()
public String getCachePath()
CacheSupported
内の getCachePath
public String getContentEncoding()
public int getContentLength()
public String getContentType()
public long getDate()
public long getExpiration()
public String getHeaderField(String name)
name
- へーダーの名前
public InputStream getInputStream()
public long getLastModified()
public void removeCache()
CacheSupported
内の removeCache
public void setupCache(CacheManager cm, PostData pd)
CacheSupported
内の setupCache
cm
- キャッシュマネージャpd
- POST データ
|
Kagetaka | |||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'