com.github.dreamhead.moco.config
Class MocoResponseConfig

java.lang.Object
  extended by com.github.dreamhead.moco.config.MocoResponseConfig
All Implemented Interfaces:
MocoConfig<ResponseHandler>

public class MocoResponseConfig
extends java.lang.Object
implements MocoConfig<ResponseHandler>


Field Summary
 
Fields inherited from interface com.github.dreamhead.moco.MocoConfig
FILE_ID, RESPONSE_ID, URI_ID
 
Constructor Summary
MocoResponseConfig(ResponseHandler handler)
           
 
Method Summary
 ResponseHandler apply(ResponseHandler target)
           
 boolean isFor(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MocoResponseConfig

public MocoResponseConfig(ResponseHandler handler)
Method Detail

isFor

public boolean isFor(java.lang.String id)
Specified by:
isFor in interface MocoConfig<ResponseHandler>

apply

public ResponseHandler apply(ResponseHandler target)
Specified by:
apply in interface MocoConfig<ResponseHandler>