org.mockserver.matchers
Class JsonStringMatcher

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.matchers.NotMatcher<MatchedType>
          extended by org.mockserver.matchers.BodyMatcher<String>
              extended by org.mockserver.matchers.JsonStringMatcher
All Implemented Interfaces:
Matcher<String>

public class JsonStringMatcher
extends BodyMatcher<String>

Author:
jamesdbloom

Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
JsonStringMatcher(String matcher, MatchType matchType)
           
 
Method Summary
 boolean matches(String matched)
           
 
Methods inherited from class org.mockserver.matchers.NotMatcher
not
 
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
 

Constructor Detail

JsonStringMatcher

public JsonStringMatcher(String matcher,
                         MatchType matchType)
Method Detail

matches

public boolean matches(String matched)


Copyright © 2015. All rights reserved.