com.github.dreamhead.moco
Class UnexpectedRequestMatcher

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

public class UnexpectedRequestMatcher
extends java.lang.Object
implements RequestMatcher


Constructor Summary
UnexpectedRequestMatcher()
           
 
Method Summary
 RequestMatcher apply(MocoConfig config)
           
 boolean match(io.netty.handler.codec.http.FullHttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnexpectedRequestMatcher

public UnexpectedRequestMatcher()
Method Detail

match

public boolean match(io.netty.handler.codec.http.FullHttpRequest request)
Specified by:
match in interface RequestMatcher

apply

public RequestMatcher apply(MocoConfig config)
Specified by:
apply in interface ConfigApplier<RequestMatcher>