|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.commons.net.proxy.pac.PacEngine
public class PacEngine
PAC(Proxy Autho-Config)スクリプトを実行するエンジン。 Rhinoを使ってJavaScriptを実行する。
| コンストラクタの概要 | |
|---|---|
PacEngine(String pacScript)
PACスクリプトからオブジェクトを構築する。 |
|
| メソッドの概要 | |
|---|---|
List<Proxy> |
findProxyForUri(URI uri)
指定されたURIへのプロキシリストを返す。 |
static String |
getPacUtilScript()
Pacスクリプトのためのユーティリティスクリプトを返す。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public PacEngine(String pacScript)
pacScript - PACスクリプト| メソッドの詳細 |
|---|
public List<Proxy> findProxyForUri(URI uri)
throws ProxyFormatException,
UnknownHostException
uri - プロキシを探すURI
ProxyFormatException - プロキシ情報のフォーマットが不正
UnknownHostException - uriで指定されたホスト名からIPアドレスを求められないpublic static String getPacUtilScript()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||