クラス HttpComponents5MessageSender
java.lang.ObjectSE
org.springframework.ws.transport.AbstractWebServiceMessageSender<HttpDestinationDescriptor>
org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
org.springframework.ws.transport.http.AbstractHttpComponents5MessageSender
org.springframework.ws.transport.http.HttpComponents5MessageSender
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, WebServiceMessageSender
public class HttpComponents5MessageSender
extends AbstractHttpComponents5MessageSender
implements org.springframework.beans.factory.InitializingBean
POST リクエストを実行する基礎となる Apache HttpClient を構成する
AbstractHttpComponents5MessageSender 実装。HttpClient を指定する場合は、代わりに SimpleHttpComponents5MessageSender を使用することを検討してください。
- 導入:
- 4.0.5
- 関連事項:
ネストされたクラスの概要
インターフェース WebServiceMessageSender から継承されたネストクラス / インターフェース
WebServiceMessageSender.DestinationDescriptor, WebServiceMessageSender.DestinationPolicy<D>, WebServiceMessageSender.UriSourceフィールド概要
クラス AbstractHttpWebServiceMessageSender から継承されたフィールド
loggerコンストラクター概要
コンストラクターコンストラクター説明デフォルトのPoolingHttpClientConnectionManagerを使用するデフォルトのHttpClientを使用して、HttpClientMessageSenderの新しいインスタンスを作成します。方法の概要
修飾子と型メソッド説明voidorg.apache.hc.client5.http.classic.HttpClientこのメッセージの送信者が使用したHttpClientを返します。voidsetAuthScope(org.apache.hc.client5.http.auth.AuthScope authScope) 使用する認証スコープを設定します。voidsetConnectionTimeout(DurationSE timeout) 接続が確立されるまでのタイムアウトを設定します。voidsetCredentials(org.apache.hc.client5.http.auth.Credentials credentials) 使用する認証情報を設定してください。voidsetMaxConnectionsPerHost(MapSE<StringSE, StringSE> maxConnectionsPerHost) 基盤となる HttpClient のホストあたりの最大接続数を設定します。voidsetMaxTotalConnections(int maxTotalConnections) 基礎となる HttpClient に許可される接続の最大数を設定します。voidsetReadTimeout(DurationSE timeout) 基になる HttpClient のソケット読み取りタイムアウトを設定します。クラス AbstractHttpComponents5MessageSender から継承されたメソッド
createConnection, createContext, destroyクラス AbstractHttpWebServiceMessageSender から継承されたメソッド
createDescriptor, defaultChecks, isAcceptGzipEncoding, remoteDefaultChecks, setAcceptGzipEncoding, setAllowDnsResolution, setAllowSiteLocalIpv4クラス AbstractWebServiceMessageSender から継承されたメソッド
getDestinationPolicy, setDestinationPolicy, supportsクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース WebServiceMessageSender から継承されたメソッド
supports
コンストラクターの詳細
HttpComponents5MessageSender
public HttpComponents5MessageSender()デフォルトのPoolingHttpClientConnectionManagerを使用するデフォルトのHttpClientを使用して、HttpClientMessageSenderの新しいインスタンスを作成します。
方法の詳細
getHttpClient
public org.apache.hc.client5.http.classic.HttpClient getHttpClient()クラスからコピーされた説明:AbstractHttpComponents5MessageSenderこのメッセージの送信者が使用したHttpClientを返します。- 次で指定:
- クラス
AbstractHttpComponents5MessageSenderのgetHttpClient
setAuthScope
public void setAuthScope(org.apache.hc.client5.http.auth.AuthScope authScope) 使用する認証スコープを設定します。credentialsプロパティが設定されている場合にのみ使用されます。- 関連事項:
setCredentials
public void setCredentials(org.apache.hc.client5.http.auth.Credentials credentials) 使用する認証情報を設定してください。設定しない場合、認証は行われません。- 関連事項:
setConnectionTimeout
setReadTimeout
setMaxTotalConnections
public void setMaxTotalConnections(int maxTotalConnections) 基礎となる HttpClient に許可される接続の最大数を設定します。- 関連事項:
setMaxConnectionsPerHost
afterPropertiesSet
- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBean内のafterPropertiesSet - 例外:
ExceptionSE