org.mockserver.mock
Class MockServerMatcher

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.mock.MockServerMatcher

public class MockServerMatcher
extends ObjectWithReflectiveEqualsHashCodeToString

Author:
jamesdbloom

Field Summary
protected  List<Expectation> expectations
           
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
MockServerMatcher()
           
 
Method Summary
 void clear(HttpRequest httpRequest)
           
 void dumpToLog(HttpRequest httpRequest)
           
 Action handle(HttpRequest httpRequest)
           
 void reset()
           
 Expectation[] retrieve(HttpRequest httpRequest)
           
 Expectation when(HttpRequest httpRequest)
           
 Expectation when(HttpRequest httpRequest, Times times, TimeToLive timeToLive)
           
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

expectations

protected final List<Expectation> expectations
Constructor Detail

MockServerMatcher

public MockServerMatcher()
Method Detail

when

public Expectation when(HttpRequest httpRequest)

when

public Expectation when(HttpRequest httpRequest,
                        Times times,
                        TimeToLive timeToLive)

handle

public Action handle(HttpRequest httpRequest)

clear

public void clear(HttpRequest httpRequest)

reset

public void reset()

dumpToLog

public void dumpToLog(HttpRequest httpRequest)

retrieve

public Expectation[] retrieve(HttpRequest httpRequest)


Copyright © 2016. All rights reserved.