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

フィールドの概要
static String AUTH_SCHEME_FACTORIES_PROPERTY
           
 Map<String,org.apache.http.auth.AuthSchemeFactory> authSchemeFactoryMap
           
static String BASIC_AUTHENTICATIONS_PROPERTY
           
 org.apache.http.conn.ClientConnectionManager clientConnectionManager
           
static String CONNECTION_MANAGER_TIMEOUT_PROPERTY
           
static String CONNECTION_TIMEOUT_PROPERTY
           
 Integer connectionManagerTimeout
           
 Integer connectionTimeout
           
protected  ContentLengthHelper contentLengthHelper
           
 String cookiePolicy
           
 org.apache.http.client.CookieStore cookieStore
           
 String defaultMimeType
           
protected  org.apache.http.impl.client.DefaultHttpClient httpClient
           
 org.apache.http.protocol.HttpContext httpClientContext
           
 Integer linger
           
static String LINGER_PROPERTY
           
 Integer maxConnectionsPerRoute
           
 Integer maxTotalConnections
           
static String PROXY_CREDENTIALS_PROPERTY
           
static String PROXY_HOST_PROPERTY
           
static String PROXY_PORT_PROPERTY
           
 org.apache.http.auth.Credentials proxyCredentials
           
 String proxyHost
           
 Integer proxyPort
           
static String REQUERT_HEADERS_PROPERTY
           
 int responseBodyInMemoryThresholdSize
           
protected  RobotsTxtHelper robotsTxtHelper
           
static String SO_TIMEOUT_PROPERTY
           
 Integer soTimeout
           
static String STALE_CHECKING_ENABLED_PROPERTY
           
 Boolean staleCheckingEnabled
           
static String USER_AGENT_PROPERTY
           
 String userAgent
           
 
コンストラクタの概要
HcHttpClient()
           
 
メソッドの概要
protected  String convertRobotsTxtPathPattern(String path)
           
 void destroy()
           
 ResponseData doGet(String url)
           
 ResponseData doHead(String url)
           
 ResponseData doHttpMethod(String url, org.apache.http.client.methods.HttpUriRequest httpRequest)
           
 void init()
           
protected  Date parseLastModified(String value)
           
protected  void processRobotsTxt(String url)
           
 
クラス org.seasar.robot.client.AbstractS2RobotClient から継承されたメソッド
getInitParameter, setInitParameterMap
 
クラス 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.