com.github.dreamhead.moco.handler
Class AndResponseHandler

java.lang.Object
  extended by com.github.dreamhead.moco.handler.AbstractResponseHandler
      extended by com.github.dreamhead.moco.handler.AndResponseHandler
All Implemented Interfaces:
ConfigApplier<ResponseHandler>, ResponseHandler

public class AndResponseHandler
extends AbstractResponseHandler


Constructor Summary
AndResponseHandler(java.lang.Iterable<ResponseHandler> handlers)
           
 
Method Summary
 ResponseHandler apply(MocoConfig config)
           
 void writeToResponse(SessionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndResponseHandler

public AndResponseHandler(java.lang.Iterable<ResponseHandler> handlers)
Method Detail

writeToResponse

public void writeToResponse(SessionContext context)

apply

public ResponseHandler apply(MocoConfig config)
Specified by:
apply in interface ConfigApplier<ResponseHandler>
Overrides:
apply in class AbstractResponseHandler