|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.net.URLConnection
java.net.HttpURLConnection
sun.net.www.protocol.http.HttpURLConnection
net.hizlab.kagetaka.protocol.http.SunHttpURLConnection
キャッシュをサポートする http プロトコルのコネクションを表します。
| フィールドの概要 |
| クラス sun.net.www.protocol.http.HttpURLConnection から継承したフィールド |
handler, http, pe, ps, userAgent |
| クラス java.net.URLConnection から継承したフィールド |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
| メソッドの概要 | |
void |
connect()
接続を行います。 |
String |
getCachePath()
キャッシュファイルのパスを返します。 |
InputStream |
getInputStream()
レスポンスを読み込む入力ストリームを戻します。 |
OutputStream |
getOutputStream()
リクエストで出力する出力ストリームを戻します。 |
URL |
getURL()
実際の接続先 URL を返します。 |
void |
removeCache()
キャッシュデータを破棄します。 |
void |
setRequestProperty(String key,
String value)
リクエストプロパティを設定します。 |
void |
setupCache(CacheManager cm,
PostData pd)
キャッシュマネージャを使用できるようにセットアップします。 |
| クラス sun.net.www.protocol.http.HttpURLConnection から継承したメソッド |
addRequestProperty, disconnect, doTunneling, finalize, getErrorStream, getHeaderField, getHeaderField, getHeaderFieldKey, getHeaderFields, getRequestProperties, getRequestProperty, openConnectionCheckRedirects, plainConnect, proxiedConnect, setDefaultAuthenticator, setNewClient, setNewClient, setProxiedClient, setProxiedClient, usingProxy |
| クラス java.lang.Object から継承したメソッド |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| メソッドの詳細 |
public void connect()
throws IOException
IOException - IO エラーが発生した場合public String getCachePath()
CacheSupported 内の getCachePath
public InputStream getInputStream()
throws IOException
IOException - IO エラーが発生した場合
public OutputStream getOutputStream()
throws IOException
IOException - IO エラーが発生した場合public URL getURL()
public void removeCache()
CacheSupported 内の removeCache
public void setRequestProperty(String key,
String value)
key - キーvalue - 値
public void setupCache(CacheManager cm,
PostData pd)
CacheSupported 内の setupCachecm - キャッシュマネージャpd - POST データ
|
Kagetaka | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright (c) 2002-2004 The Kagetaka Project 'November 20, 2004'