com.github.dreamhead.moco.matcher
Class AndRequestMatcher

java.lang.Object
  extended by com.github.dreamhead.moco.matcher.CompositeRequestMatcher
      extended by com.github.dreamhead.moco.matcher.AndRequestMatcher
All Implemented Interfaces:
ConfigApplier<RequestMatcher>, RequestMatcher

public class AndRequestMatcher
extends CompositeRequestMatcher


Field Summary
 
Fields inherited from class com.github.dreamhead.moco.matcher.CompositeRequestMatcher
matchers
 
Constructor Summary
AndRequestMatcher(java.lang.Iterable<RequestMatcher> matchers)
           
 
Method Summary
 RequestMatcher apply(MocoConfig config)
           
 boolean match(io.netty.handler.codec.http.FullHttpRequest request)
           
 
Methods inherited from class com.github.dreamhead.moco.matcher.CompositeRequestMatcher
applyToMatchers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndRequestMatcher

public AndRequestMatcher(java.lang.Iterable<RequestMatcher> matchers)
Method Detail

match

public boolean match(io.netty.handler.codec.http.FullHttpRequest request)

apply

public RequestMatcher apply(MocoConfig config)