com.github.tomakehurst.wiremock.mapping
Class InMemoryMappings

java.lang.Object
  extended by com.github.tomakehurst.wiremock.mapping.InMemoryMappings
All Implemented Interfaces:
Mappings

public class InMemoryMappings
extends java.lang.Object
implements Mappings


Constructor Summary
InMemoryMappings()
           
 
Method Summary
 void addMapping(RequestResponseMapping mapping)
           
 void reset()
           
 void resetScenarios()
           
 ResponseDefinition serveFor(Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryMappings

public InMemoryMappings()
Method Detail

serveFor

public ResponseDefinition serveFor(Request request)
Specified by:
serveFor in interface Mappings

addMapping

public void addMapping(RequestResponseMapping mapping)
Specified by:
addMapping in interface Mappings

reset

public void reset()
Specified by:
reset in interface Mappings

resetScenarios

public void resetScenarios()
Specified by:
resetScenarios in interface Mappings