cm.bound.configuration.options
クラス Option

java.lang.Object
  拡張cm.bound.configuration.options.Option

public class Option
extends java.lang.Object

$Rev: 97 $
$Date: 2005-04-21 13:16:51 +0900 (Thu, 21 Apr 2005) $
$Author: C.M $ 中継スレッド用オプションを表すクラス。


フィールドの概要
static int DUMP
           
static int GZIP
           
static int HTTP
           
static int SSL
           
static int TCP
           
 
コンストラクタの概要
Option()
           
 
メソッドの概要
static org.apache.commons.cli.Options buildOptions()
          中継スレッド用オプションを作成する。
 java.lang.String[] getAllowAddresses()
           
 char[] getClientKeyPass()
           
 java.io.File getClientKeyStore()
           
 char[] getClientStorePass()
           
 java.lang.String[] getDelInboundHttpHeaders()
           
 java.lang.String[] getDelOutboundHttpHeaders()
           
 int getDumpFormat()
           
 java.lang.String getDumpLogDir()
           
 java.lang.String getForwardHost()
           
 int getForwardPort()
           
 int getGainThreads()
           
 java.lang.String[] getInboundHttpHeaders()
           
 int getInboundProtocol()
           
 int getInitThreads()
           
 int getListenPort()
           
 int getMaxThreads()
           
 java.lang.String[] getOutboundHttpHeaders()
           
 int getOutboundProtocol()
           
 java.lang.String getProxyAuth()
           
 java.lang.String getProxyHost()
           
 int getProxyPort()
           
 int getQueueLength()
           
 char[] getServerKeyPass()
           
 java.io.File getServerKeyStore()
           
 char[] getServerStorePass()
           
 boolean isIgnoreServerAuth()
           
 boolean isNeedClientAuth()
           
 void setup(java.lang.String[] args)
          与えられた args をもとに中継スレッド用オプションを設定する。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

TCP

public static final int TCP
関連項目:
定数フィールド値

SSL

public static final int SSL
関連項目:
定数フィールド値

HTTP

public static final int HTTP
関連項目:
定数フィールド値

GZIP

public static final int GZIP
関連項目:
定数フィールド値

DUMP

public static final int DUMP
関連項目:
定数フィールド値
コンストラクタの詳細

Option

public Option()
メソッドの詳細

getListenPort

public int getListenPort()

getForwardHost

public java.lang.String getForwardHost()

getForwardPort

public int getForwardPort()

getAllowAddresses

public java.lang.String[] getAllowAddresses()

getQueueLength

public int getQueueLength()

getInitThreads

public int getInitThreads()

getGainThreads

public int getGainThreads()

getMaxThreads

public int getMaxThreads()

getInboundProtocol

public int getInboundProtocol()

getOutboundProtocol

public int getOutboundProtocol()

getProxyHost

public java.lang.String getProxyHost()

getProxyPort

public int getProxyPort()

getProxyAuth

public java.lang.String getProxyAuth()

getOutboundHttpHeaders

public java.lang.String[] getOutboundHttpHeaders()

getInboundHttpHeaders

public java.lang.String[] getInboundHttpHeaders()

getDelOutboundHttpHeaders

public java.lang.String[] getDelOutboundHttpHeaders()

getDelInboundHttpHeaders

public java.lang.String[] getDelInboundHttpHeaders()

getDumpFormat

public int getDumpFormat()

getDumpLogDir

public java.lang.String getDumpLogDir()

getServerKeyStore

public java.io.File getServerKeyStore()

getServerStorePass

public char[] getServerStorePass()

getServerKeyPass

public char[] getServerKeyPass()

isNeedClientAuth

public boolean isNeedClientAuth()

getClientKeyStore

public java.io.File getClientKeyStore()

getClientStorePass

public char[] getClientStorePass()

getClientKeyPass

public char[] getClientKeyPass()

isIgnoreServerAuth

public boolean isIgnoreServerAuth()

setup

public void setup(java.lang.String[] args)
           throws org.apache.commons.cli.ParseException,
                  ConfigurationException,
                  java.io.IOException
与えられた args をもとに中継スレッド用オプションを設定する。 設定されたオプションは、setter、getterによって取得できるようになる。

パラメータ:
args - オプションのもとになる文字列の配列。
例外:
org.apache.commons.cli.ParseException
ConfigurationException
java.io.IOException

buildOptions

public static org.apache.commons.cli.Options buildOptions()
中継スレッド用オプションを作成する。

戻り値:
中継スレッド用オプション。