public class SendToHandlerMethodReturnValueHandler extends Object implements org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler, org.springframework.beans.factory.BeanFactoryAware
Constructor and Description |
---|
SendToHandlerMethodReturnValueHandler(org.springframework.messaging.core.DestinationResolvingMessageSendingOperations<?> messageTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
handleReturnValue(Object returnValue,
org.springframework.core.MethodParameter returnType,
org.springframework.messaging.Message<?> message) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
boolean |
supportsReturnType(org.springframework.core.MethodParameter returnType) |
public SendToHandlerMethodReturnValueHandler(org.springframework.messaging.core.DestinationResolvingMessageSendingOperations<?> messageTemplate)
public boolean supportsReturnType(org.springframework.core.MethodParameter returnType)
supportsReturnType
in interface org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler
public void handleReturnValue(Object returnValue, org.springframework.core.MethodParameter returnType, org.springframework.messaging.Message<?> message) throws Exception
handleReturnValue
in interface org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler
Exception
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.