クラスの使用
org.springframework.messaging.simp.config.ChannelRegistration
パッケージ
説明
より高いレベルのメッセージングプロトコルを使用した WebSocket メッセージングの構成サポート。
構成クラスでのアノテーションベースの WebSocket セットアップのサポート。
org.springframework.messaging.simp.config 内の ChannelRegistration 使用
修飾子と型メソッド説明MessageBrokerRegistry.configureBrokerChannel()
アプリケーションからメッセージブローカーにメッセージを送信するために使用するチャネルをカスタマイズします。ChannelRegistration.executor
(TaskExecutor taskExecutor) このメッセージチャネルに対して指定されたTaskExecutor
を構成し、タスクエグゼキューターの登録がある場合はそれよりも優先されます。protected ChannelRegistration
MessageBrokerRegistry.getBrokerChannelRegistration()
protected final ChannelRegistration
AbstractMessageBrokerConfiguration.getClientInboundChannelRegistration()
protected final ChannelRegistration
AbstractMessageBrokerConfiguration.getClientOutboundChannelRegistration()
ChannelRegistration.interceptors
(ChannelInterceptor... interceptors) このメッセージチャネルの特定のインターセプターを構成し、インターセプターのチャネルの現在のリストに追加します。修飾子と型メソッド説明protected void
AbstractMessageBrokerConfiguration.configureClientInboundChannel
(ChannelRegistration registration) WebSocket クライアントからの受信メッセージのメッセージチャネルをカスタマイズするためのサブクラスのフック。protected void
AbstractMessageBrokerConfiguration.configureClientOutboundChannel
(ChannelRegistration registration) アプリケーションまたはメッセージブローカーから WebSocket クライアントへのメッセージのメッセージチャネルをカスタマイズするためのサブクラスのフック。org.springframework.web.socket.config.annotation 内の ChannelRegistration 使用
修飾子と型メソッド説明protected void
DelegatingWebSocketMessageBrokerConfiguration.configureClientInboundChannel
(ChannelRegistration registration) default void
WebSocketMessageBrokerConfigurer.configureClientInboundChannel
(ChannelRegistration registration) WebSocket クライアントからの受信メッセージに使用されるMessageChannel
を構成します。protected void
DelegatingWebSocketMessageBrokerConfiguration.configureClientOutboundChannel
(ChannelRegistration registration) default void
WebSocketMessageBrokerConfigurer.configureClientOutboundChannel
(ChannelRegistration registration) WebSocket クライアントへの送信メッセージに使用されるMessageChannel
を構成します。