org.seasar.robot.client.http
クラス HcHttpClient
java.lang.Object
org.seasar.robot.client.AbstractS2RobotClient
org.seasar.robot.client.http.HcHttpClient
- すべての実装されたインタフェース:
- S2RobotClient
public class HcHttpClient
- 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
- 関連項目:
- 定数フィールド値
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
- 関連項目:
- 定数フィールド値
CONNECTION_MANAGER_TIMEOUT_PROPERTY
public static final String CONNECTION_MANAGER_TIMEOUT_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
- 関連項目:
- 定数フィールド値
AUTH_SCHEME_FACTORIES_PROPERTY
public static final String AUTH_SCHEME_FACTORIES_PROPERTY
- 関連項目:
- 定数フィールド値
robotsTxtHelper
protected RobotsTxtHelper robotsTxtHelper
contentLengthHelper
protected ContentLengthHelper contentLengthHelper
connectionTimeout
public Integer connectionTimeout
maxTotalConnections
public Integer maxTotalConnections
maxConnectionsPerRoute
public Integer maxConnectionsPerRoute
staleCheckingEnabled
public Boolean staleCheckingEnabled
soTimeout
public Integer soTimeout
linger
public Integer linger
connectionManagerTimeout
public Integer connectionManagerTimeout
cookiePolicy
public String cookiePolicy
userAgent
public String userAgent
httpClient
protected volatile org.apache.http.impl.client.DefaultHttpClient httpClient
httpClientContext
public org.apache.http.protocol.HttpContext httpClientContext
proxyHost
public String proxyHost
proxyPort
public Integer proxyPort
proxyCredentials
public org.apache.http.auth.Credentials proxyCredentials
responseBodyInMemoryThresholdSize
public int responseBodyInMemoryThresholdSize
defaultMimeType
public String defaultMimeType
cookieStore
public org.apache.http.client.CookieStore cookieStore
clientConnectionManager
public org.apache.http.conn.ClientConnectionManager clientConnectionManager
authSchemeFactoryMap
public Map<String,org.apache.http.auth.AuthSchemeFactory> authSchemeFactoryMap
HcHttpClient
public HcHttpClient()
init
public void init()
destroy
public void destroy()
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.http.client.methods.HttpUriRequest httpRequest)
parseLastModified
protected Date parseLastModified(String value)
Copyright © 2009-2010 The Seasar Foundation. All Rights Reserved.