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 $
中継スレッド用オプションを表すクラス。
クラス 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()
- 中継スレッド用オプションを作成する。
- 戻り値:
- 中継スレッド用オプション。