org.hippoecm.hst.jaxrs.cxf
Interface InvokerPostprocessor

All Known Implementing Classes:
PersistableAnnotationInvokerPostprocessor

public interface InvokerPostprocessor

InvokerPostprocessor

Components implementing this interface can be plugged into AroundProcessableJAXRSInvoker, which postprocess Exchange, request object and the returned message object after the default JAXRSInvoker returns a message.

Version:
$Id$
See Also:
AroundProcessableJAXRSInvoker}

Method Summary
 Object postprocoess(org.apache.cxf.message.Exchange exchange, Object request, Object result)
          If this postprocessor is able to process the returned message after the default JAXRSInvoker returns a message object.
 

Method Detail

postprocoess

Object postprocoess(org.apache.cxf.message.Exchange exchange,
                    Object request,
                    Object result)
If this postprocessor is able to process the returned message after the default JAXRSInvoker returns a message object. This method should always return a message object. If there's any next InvokerPostprocessor, then the next InvokerPostprocessor will receive the return message object from the current InvokerPostprocessor.

Parameters:
exchange -
request -
result - the return object from the default JAXRSInvoker or the previous InvokerPostprocessor
Returns:
non-null message object should be returned.


Copyright © 2008-2012 Hippo. All Rights Reserved.