接口的使用
org.springframework.messaging.handler.invocation.reactive.HandlerMethodReturnValueHandler
使用HandlerMethodReturnValueHandler的程序包 程序包 说明 org.springframework.messaging.handler.annotation.reactive Support classes for working with annotated message-handling methods with non-blocking, reactive contracts.org.springframework.messaging.handler.invocation.reactive Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.org.springframework.messaging.rsocket.annotation.support Support classes for working with annotated RSocket stream handling methods.org.springframework.messaging.handler.annotation.reactive中HandlerMethodReturnValueHandler的使用
返回变量类型为HandlerMethodReturnValueHandler的类型的org.springframework.messaging.handler.annotation.reactive中的方法 修饰符和类型 方法 说明 protected List<? extends HandlerMethodReturnValueHandler>
MessageMappingMessageHandler. initReturnValueHandlers()
org.springframework.messaging.handler.invocation.reactive中HandlerMethodReturnValueHandler的使用
实现HandlerMethodReturnValueHandler的org.springframework.messaging.handler.invocation.reactive中的类 修饰符和类型 类 说明 class
AbstractEncoderMethodReturnValueHandler
Base class for a return value handler that encodes return values toFlux<DataBuffer>
through the configuredEncoder
s.class
HandlerMethodReturnValueHandlerComposite
A HandlerMethodReturnValueHandler that wraps and delegates to others.返回变量类型为HandlerMethodReturnValueHandler的类型的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 List<HandlerMethodReturnValueHandler>
ReturnValueHandlerConfigurer. getCustomHandlers()
List<HandlerMethodReturnValueHandler>
HandlerMethodReturnValueHandlerComposite. getReturnValueHandlers()
Return a read-only list with the configured handlers.protected abstract List<? extends HandlerMethodReturnValueHandler>
AbstractMethodMessageHandler. initReturnValueHandlers()
Return the list of return value handlers to use.参数类型为HandlerMethodReturnValueHandler的org.springframework.messaging.handler.invocation.reactive中的方法 修饰符和类型 方法 说明 void
ReturnValueHandlerConfigurer. addCustomHandler(HandlerMethodReturnValueHandler... handlers)
Configure custom return value handlers for handler methods.HandlerMethodReturnValueHandlerComposite
HandlerMethodReturnValueHandlerComposite. addHandler(HandlerMethodReturnValueHandler returnValueHandler)
Add the givenHandlerMethodReturnValueHandler
.类型变量类型为HandlerMethodReturnValueHandler的org.springframework.messaging.handler.invocation.reactive中的方法参数 修饰符和类型 方法 说明 HandlerMethodReturnValueHandlerComposite
HandlerMethodReturnValueHandlerComposite. addHandlers(List<? extends HandlerMethodReturnValueHandler> handlers)
Add the givenHandlerMethodReturnValueHandlers
.org.springframework.messaging.rsocket.annotation.support中HandlerMethodReturnValueHandler的使用
实现HandlerMethodReturnValueHandler的org.springframework.messaging.rsocket.annotation.support中的类 修饰符和类型 类 说明 class
RSocketPayloadReturnValueHandler
Extension ofAbstractEncoderMethodReturnValueHandler
thathandles
encoded content by wrapping data buffers as RSocket payloads and by passing those to theMonoProcessor
from theRSocketPayloadReturnValueHandler.RESPONSE_HEADER
header.返回变量类型为HandlerMethodReturnValueHandler的类型的org.springframework.messaging.rsocket.annotation.support中的方法 修饰符和类型 方法 说明 protected List<? extends HandlerMethodReturnValueHandler>
RSocketMessageHandler. initReturnValueHandlers()