@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) @HasHandlerAttributes public @interface ResultHandler
MessageHandlerInterceptorannotated methods as interceptors that should only act on the result of a handler invocation. This gives these handlers the opportunity to act on the result only, without intercepting the call on the way to the handler.
resultType() can be used to limit the types of responses the handler should be invoked for.
This annotation is exclusively meant as a Meta-Annotation and cannot not be placed directly on a method.
public abstract Class<?> resultType
Copyright © 2010–2023. All rights reserved.