クラス HttpMessageHandlerSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<HttpMessageHandlerSpec, HttpRequestExecutingMessageHandler>
org.springframework.integration.dsl.MessageHandlerSpec<HttpMessageHandlerSpec, HttpRequestExecutingMessageHandler>
org.springframework.integration.http.dsl.BaseHttpMessageHandlerSpec<HttpMessageHandlerSpec, HttpRequestExecutingMessageHandler>
org.springframework.integration.http.dsl.HttpMessageHandlerSpec
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<HttpRequestExecutingMessageHandler>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
public class HttpMessageHandlerSpec
extends BaseHttpMessageHandlerSpec<HttpMessageHandlerSpec, HttpRequestExecutingMessageHandler>
- 導入:
- 5.0
- 作成者:
- Artem Bilan, Shiliang Li, Oleksii Komlyk
- 関連事項:
フィールドのサマリー
クラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedHttpMessageHandlerSpec(StringSE uri, RestTemplate restTemplate) protectedHttpMessageHandlerSpec(URISE uri, RestTemplate restTemplate) protectedHttpMessageHandlerSpec(Expression uriExpression, RestTemplate restTemplate) メソッドのサマリー
修飾子と型メソッド説明errorHandler(ResponseErrorHandler errorHandler) 基になるRestTemplateのResponseErrorHandlerを設定します。protected booleanmessageConverters(HttpMessageConverter<?>... messageConverters) 基礎となるRestTemplateで使用されるHttpMessageConverterのリストを設定します。requestFactory(ClientHttpRequestFactory requestFactory) 基になるRestTemplateのClientHttpRequestFactoryを設定します。クラス org.springframework.integration.http.dsl.BaseHttpMessageHandlerSpec から継承されたメソッド
charset, encodingMode, expectedResponseType, expectedResponseType, expectedResponseTypeExpression, expectedResponseTypeFunction, expectReply, extractPayload, extractResponseBody, getComponentsToRegister, headerMapper, httpMethod, httpMethodExpression, httpMethodFunction, mappedRequestHeaders, mappedResponseHeaders, transferCookies, uriVariable, uriVariable, uriVariable, uriVariableExpressions, uriVariablesExpression, uriVariablesExpression, uriVariablesFunctionクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたメソッド
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.FactoryBean から継承されたメソッド
isSingleton
コンストラクターの詳細
HttpMessageHandlerSpec
HttpMessageHandlerSpec
HttpMessageHandlerSpec
メソッドの詳細
requestFactory
基になるRestTemplateのClientHttpRequestFactoryを設定します。- パラメーター:
requestFactory- リクエストファクトリ。- 戻り値:
- スペック
errorHandler
基になるRestTemplateのResponseErrorHandlerを設定します。- パラメーター:
errorHandler- エラーハンドラー。- 戻り値:
- スペック
messageConverters
基礎となるRestTemplateで使用されるHttpMessageConverterのリストを設定します。この方法で構成されたコンバーターは、デフォルトのコンバーターをオーバーライドします。- パラメーター:
messageConverters- メッセージコンバーター。- 戻り値:
- スペック
isClientSet
protected boolean isClientSet()