クラス HttpUrlConnectionMessageSender
java.lang.ObjectSE
org.springframework.ws.transport.AbstractWebServiceMessageSender<HttpDestinationDescriptor>
org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
org.springframework.ws.transport.http.HttpUrlConnectionMessageSender
- 実装済みのインターフェース一覧:
WebServiceMessageSender
- 既知の直属サブクラス
HttpsUrlConnectionMessageSender
HTTP 認証または高度な構成オプションをサポートせずに、標準の J2SE 機能を使用して POST リクエストを実行する
WebServiceMessageSender 実装。 より高度なニーズについては、HttpComponents5MessageSender を検討してください。このクラスの機能はかなり制限されています。
- 導入:
- 1.0.0
- 関連事項:
ネストされたクラスの概要
インターフェース WebServiceMessageSender から継承されたネストクラス / インターフェース
WebServiceMessageSender.DestinationDescriptor, WebServiceMessageSender.DestinationPolicy<D>, WebServiceMessageSender.UriSourceフィールド概要
クラス AbstractHttpWebServiceMessageSender から継承されたフィールド
loggerコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明createConnection(URISE uri) 指定された URI に新しいWebServiceConnectionを作成します。protected voidprepareConnection(HttpURLConnectionSE connection) 指定されたHttpURLConnectionSE を準備するためのテンプレートメソッド。voidsetConnectionTimeout(DurationSE connectTimeout) 接続が確立されるまでのタイムアウトを設定します。voidsetReadTimeout(DurationSE readTimeout) ソケット読み取りタイムアウトを設定します。クラス 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
コンストラクターの詳細
HttpUrlConnectionMessageSender
public HttpUrlConnectionMessageSender()
方法の詳細
setConnectionTimeout
接続が確立されるまでのタイムアウトを設定します。- パラメーター:
connectTimeout- タイムアウト値- 導入:
- 3.0.1
- 関連事項:
setReadTimeout
ソケット読み取りタイムアウトを設定します。- パラメーター:
readTimeout- タイムアウト値- 導入:
- 3.0.1
- 関連事項:
createConnection
インターフェースからコピーされた説明:WebServiceMessageSender指定された URI に新しいWebServiceConnectionを作成します。- パラメーター:
uri- 接続を開くための URI- 戻り値:
- 新しい接続
- 例外:
IOExceptionSE- I/O エラーの場合
prepareConnection
指定されたHttpURLConnectionSE を準備するためのテンプレートメソッド。デフォルトの実装では、入力と出力の接続を準備 POST に HTTP メソッドを設定し、無効は、キャッシング、場合、GZIP に
Accept-Encodingヘッダーを設定適用。- パラメーター:
connection- 準備する接続- 例外:
IOExceptionSE- I/O エラーの場合