Interface ResponseValueWrapper
- All Known Implementing Classes:
FinishRequestException
public interface ResponseValueWrapper
If a handler returns an object implementing this interface, then it will be unwrapped (possibly multiple times if
the wrapped value implements this interface again) before an appropriate
Response is created for it.-
Method Summary
Modifier and TypeMethodDescriptionGetter method for the response value wrapped by this wrapper.
-
Method Details
-
getWrappedResponseValue
Object getWrappedResponseValue()Getter method for the response value wrapped by this wrapper.If the wrapped value is itself an instance of this interface, then the implementation does not have to unwrap that wrapper too -- the caller of this method is expected to unwrap as often as possible.
- Returns:
- the wrapped response value
-