|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodReturnValueHandler
Strategy interface used to handle method return values. This interface is used to allow the DefaultMethodEndpointAdapter
to be
indefinitely extensible.
Method Summary | |
---|---|
void |
handleReturnValue(MessageContext messageContext,
MethodParameter returnType,
Object returnValue)
Handles the given return value. |
boolean |
supportsReturnType(MethodParameter returnType)
Indicates whether the given method return type is supported by this handler. |
Method Detail |
---|
boolean supportsReturnType(MethodParameter returnType)
returnType
- the method return type to check
true
if this handler supports the supplied return type; false
otherwisevoid handleReturnValue(MessageContext messageContext, MethodParameter returnType, Object returnValue) throws Exception
messageContext
- the current message contextreturnType
- the return type to handle. This type must have previously been passed to the supportsReturnType(MethodParameter)
method of this interface, which must have returned
true
.returnValue
- the return value to handle
Exception
- in case of errors
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |