クラス WebFluxMessageHandlerSpec
java.lang.ObjectSE
org.springframework.integration.dsl.IntegrationComponentSpec<WebFluxMessageHandlerSpec, WebFluxRequestExecutingMessageHandler>
org.springframework.integration.dsl.MessageHandlerSpec<WebFluxMessageHandlerSpec, WebFluxRequestExecutingMessageHandler>
org.springframework.integration.http.dsl.BaseHttpMessageHandlerSpec<WebFluxMessageHandlerSpec, WebFluxRequestExecutingMessageHandler>
org.springframework.integration.webflux.dsl.WebFluxMessageHandlerSpec
- 実装されているすべてのインターフェース:
DisposableBean、FactoryBean<WebFluxRequestExecutingMessageHandler>、InitializingBean、Lifecycle、Phased、SmartLifecycle、ComponentsRegistration
public class WebFluxMessageHandlerSpec
extends BaseHttpMessageHandlerSpec<WebFluxMessageHandlerSpec, WebFluxRequestExecutingMessageHandler>
- 導入:
- 5.0
- 作成者:
- Shiliang Li, Artem Bilan, Abhijit Sarkar, Gary Russell
- 関連事項:
フィールドのサマリー
フィールドクラス org.springframework.integration.dsl.IntegrationComponentSpec から継承されたフィールド
logger, PARSER, targetインターフェース org.springframework.beans.factory.FactoryBean から継承されたフィールド
OBJECT_TYPE_ATTRIBUTEインターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクター修飾子コンストラクター説明protectedWebFluxMessageHandlerSpec(StringSE uri, @Nullable WebClient webClient) protectedWebFluxMessageHandlerSpec(URISE uri, @Nullable WebClient webClient) protectedWebFluxMessageHandlerSpec(Expression uriExpression, @Nullable WebClient webClient) メソッドのサマリー
修飾子と型メソッド説明bodyExtractor(BodyExtractor<?, ? super ClientHttpResponse> bodyExtractor) protected WebFluxMessageHandlerSpecexpectReply(boolean expectReply) protected booleanpublisherElementType(ClassSE<?> publisherElementType) リクエストPublisher要素の型を構成します。publisherElementType(ParameterizedTypeReference<?> publisherElementType) リクエストPublisherエレメントのParameterizedTypeReferenceを構成します。publisherElementTypeExpression(Expression publisherElementTypeExpression) 実行時にリクエストメッセージに対してリクエストPublisher要素型を評価するように SpEL 式を構成します。publisherElementTypeFunction(FunctionSE<Message<P>, ?> typeFunction) FunctionSE を構成して、リクエストメッセージに対して実行時にリクエストPublisherエレメント・型を評価します。replyPayloadToFlux(boolean replyPayloadToFlux) レスポンスペイロードをレスポンス本文からのFluxとして使用するか、レスポンス本文からのMonoからの解決済み値として使用するかを識別するブールフラグ。クラス org.springframework.integration.http.dsl.BaseHttpMessageHandlerSpec から継承されたメソッド
charset, encodingMode, expectedResponseType, expectedResponseType, expectedResponseTypeExpression, expectedResponseTypeFunction, 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インターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
isPauseable
フィールドの詳細
webClient
コンストラクターの詳細
WebFluxMessageHandlerSpec
WebFluxMessageHandlerSpec
WebFluxMessageHandlerSpec
メソッドの詳細
replyPayloadToFlux
レスポンスペイロードをレスポンス本文からのFluxとして使用するか、レスポンス本文からのMonoからの解決済み値として使用するかを識別するブールフラグ。デフォルトはfalseです - 単純な値がダウンストリームにプッシュされます。expectedResponseTypeが構成されている場合は意味があります。- パラメーター:
replyPayloadToFlux- 応答ペイロードをFluxまたはMonoからの値として表します。- 戻り値:
- スペック
- 導入:
- 5.0.1
- 関連事項:
bodyExtractor
public WebFluxMessageHandlerSpec bodyExtractor(BodyExtractor<?, ? super ClientHttpResponse> bodyExtractor) - パラメーター:
bodyExtractor- 使用するBodyExtractor。- 戻り値:
- スペック
- 導入:
- 5.0.1
- 関連事項:
publisherElementType
リクエストPublisher要素の型を構成します。- パラメーター:
publisherElementType- リクエストPublisher要素の型。- 戻り値:
- スペック
- 導入:
- 5.2
- 関連事項:
publisherElementType
public WebFluxMessageHandlerSpec publisherElementType(ParameterizedTypeReference<?> publisherElementType) リクエストPublisherエレメントのParameterizedTypeReferenceを構成します。- パラメーター:
publisherElementType- リクエストPublisher要素の型。- 戻り値:
- スペック
- 導入:
- 5.2
- 関連事項:
publisherElementTypeFunction
public <P> WebFluxMessageHandlerSpec publisherElementTypeFunction(FunctionSE<Message<P>, ?> typeFunction) FunctionSE を構成して、リクエストメッセージに対して実行時にリクエストPublisherエレメント・型を評価します。- 型パラメーター:
P- 予想されるペイロード型。- パラメーター:
typeFunction- リクエストPublisher要素の型を評価するためのFunctionSE。- 戻り値:
- スペック
- 導入:
- 5.2
- 関連事項:
publisherElementTypeExpression
public WebFluxMessageHandlerSpec publisherElementTypeExpression(Expression publisherElementTypeExpression) 実行時にリクエストメッセージに対してリクエストPublisher要素型を評価するように SpEL 式を構成します。- パラメーター:
publisherElementTypeExpression- リクエストPublisher要素の型を評価する式。- 戻り値:
- スペック
- 導入:
- 5.2
- 関連事項:
isClientSet
protected boolean isClientSet()expectReply