org.seasar.robot.client.http
クラス CommonsHttpClient
java.lang.Object
org.seasar.robot.client.AbstractS2RobotClient
org.seasar.robot.client.http.CommonsHttpClient
- すべての実装されたインタフェース:
- S2RobotClient
public class CommonsHttpClient
- extends AbstractS2RobotClient
- 作成者:
- shinsuke
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_TIMEOUT_PROPERTY
public static final String CONNECTION_TIMEOUT_PROPERTY
- 関連項目:
- 定数フィールド値
MAX_TOTAL_CONNECTIONS_PROPERTY
public static final String MAX_TOTAL_CONNECTIONS_PROPERTY
- 関連項目:
- 定数フィールド値
STALE_CHECKING_ENABLED_PROPERTY
public static final String STALE_CHECKING_ENABLED_PROPERTY
- 関連項目:
- 定数フィールド値
SO_TIMEOUT_PROPERTY
public static final String SO_TIMEOUT_PROPERTY
- 関連項目:
- 定数フィールド値
LINGER_PROPERTY
public static final String LINGER_PROPERTY
- 関連項目:
- 定数フィールド値
PROXY_HOST_PROPERTY
public static final String PROXY_HOST_PROPERTY
- 関連項目:
- 定数フィールド値
PROXY_PORT_PROPERTY
public static final String PROXY_PORT_PROPERTY
- 関連項目:
- 定数フィールド値
PROXY_CREDENTIALS_PROPERTY
public static final String PROXY_CREDENTIALS_PROPERTY
- 関連項目:
- 定数フィールド値
USER_AGENT_PROPERTY
public static final String USER_AGENT_PROPERTY
- 関連項目:
- 定数フィールド値
BASIC_AUTHENTICATIONS_PROPERTY
public static final String BASIC_AUTHENTICATIONS_PROPERTY
- 関連項目:
- 定数フィールド値
REQUERT_HEADERS_PROPERTY
public static final String REQUERT_HEADERS_PROPERTY
- 関連項目:
- 定数フィールド値
robotsTxtHelper
protected RobotsTxtHelper robotsTxtHelper
contentLengthHelper
protected ContentLengthHelper contentLengthHelper
connectionTimeout
public Integer connectionTimeout
maxTotalConnections
public Integer maxTotalConnections
staleCheckingEnabled
public Boolean staleCheckingEnabled
soTimeout
public Integer soTimeout
linger
public Integer linger
cookiePolicy
public String cookiePolicy
userAgent
public String userAgent
httpClient
protected volatile org.apache.commons.httpclient.HttpClient httpClient
proxyHost
public String proxyHost
proxyPort
public Integer proxyPort
proxyCredentials
public org.apache.commons.httpclient.Credentials proxyCredentials
responseBodyInMemoryThresholdSize
public int responseBodyInMemoryThresholdSize
defaultMimeType
public String defaultMimeType
CommonsHttpClient
public CommonsHttpClient()
init
public void init()
processRobotsTxt
protected void processRobotsTxt(String url)
convertRobotsTxtPathPattern
protected String convertRobotsTxtPathPattern(String path)
doGet
public ResponseData doGet(String url)
doHead
public ResponseData doHead(String url)
doHttpMethod
public ResponseData doHttpMethod(String url,
org.apache.commons.httpclient.HttpMethod httpMethod)
parseLastModified
protected Date parseLastModified(String value)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.