toolbox.web.actions.sync2async
Class PassthroughSync2AsyncHandlerImpl

Package class diagram package PassthroughSync2AsyncHandlerImpl
java.lang.Object
  extended by toolbox.web.actions.sync2async.PassthroughSync2AsyncHandlerImpl
All Implemented Interfaces:
Sync2AsyncHandler

public class PassthroughSync2AsyncHandlerImpl
extends java.lang.Object
implements Sync2AsyncHandler

Simple handler implementation that does not manipulate the body and does not create any payload properties.


Constructor Summary
PassthroughSync2AsyncHandlerImpl()
          Default constructor.
 
Method Summary
 Payload handleBody(java.lang.String body)
          Place the provided body content unchanged on the result payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassthroughSync2AsyncHandlerImpl

public PassthroughSync2AsyncHandlerImpl()
Default constructor.

Method Detail

handleBody

public Payload handleBody(java.lang.String body)
Place the provided body content unchanged on the result payload.

Specified by:
handleBody in interface Sync2AsyncHandler
Parameters:
body - String containing the HTTP body.
Returns:
Payload instance.