org.hippoecm.hst.jaxrs.cxf
Class PersistableAnnotationInvokerPostprocessor

java.lang.Object
  extended by org.hippoecm.hst.jaxrs.cxf.PersistableAnnotationInvokerPostprocessor
All Implemented Interfaces:
InvokerPostprocessor

public class PersistableAnnotationInvokerPostprocessor
extends Object
implements InvokerPostprocessor

PersistableAnnotationInvokerPostprocessor

This InvokerPreprocessor implementation removes the persistable session from the requestContext if found.

Version:
$Id$

Constructor Summary
PersistableAnnotationInvokerPostprocessor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistableAnnotationInvokerPostprocessor

public PersistableAnnotationInvokerPostprocessor()
Method Detail

postprocoess

public Object postprocoess(org.apache.cxf.message.Exchange exchange,
                           Object request,
                           Object result)
Description copied from interface: InvokerPostprocessor
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.

Specified by:
postprocoess in interface InvokerPostprocessor
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.