Class InvocationResult
- java.lang.Object
-
- org.springframework.amqp.rabbit.listener.adapter.InvocationResult
-
public final class InvocationResult extends java.lang.ObjectThe result of a listener method invocation.- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description InvocationResult(java.lang.Object result, org.springframework.expression.Expression sendTo, java.lang.reflect.Type returnType, java.lang.Object bean, java.lang.reflect.Method method)Construct an instance with the provided properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetBean()java.lang.reflect.MethodgetMethod()java.lang.reflect.TypegetReturnType()java.lang.ObjectgetReturnValue()org.springframework.expression.ExpressiongetSendTo()java.lang.StringtoString()
-
-
-
Constructor Detail
-
InvocationResult
public InvocationResult(java.lang.Object result, @Nullable org.springframework.expression.Expression sendTo, @Nullable java.lang.reflect.Type returnType, @Nullable java.lang.Object bean, @Nullable java.lang.reflect.Method method)Construct an instance with the provided properties.- Parameters:
result- the result.sendTo- the sendTo expression.returnType- the return type.bean- the bean.method- the method.
-
-
Method Detail
-
getReturnValue
public java.lang.Object getReturnValue()
-
getSendTo
public org.springframework.expression.Expression getSendTo()
-
getReturnType
@Nullable public java.lang.reflect.Type getReturnType()
-
getBean
@Nullable public java.lang.Object getBean()
-
getMethod
@Nullable public java.lang.reflect.Method getMethod()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-