org.mockserver.matchers
Class BinaryMatcher

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.matchers.NotMatcher<MatchedType>
          extended by org.mockserver.matchers.BodyMatcher<byte[]>
              extended by org.mockserver.matchers.BinaryMatcher
All Implemented Interfaces:
Matcher<byte[]>

public class BinaryMatcher
extends BodyMatcher<byte[]>

Author:
jamesdbloom

Constructor Summary
BinaryMatcher(byte[] matcher)
           
 
Method Summary
 String[] fieldsExcludedFromEqualsAndHashCode()
           
 boolean matches(byte[] matched)
           
 
Methods inherited from class org.mockserver.matchers.NotMatcher
not
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryMatcher

public BinaryMatcher(byte[] matcher)
Method Detail

matches

public boolean matches(byte[] matched)

fieldsExcludedFromEqualsAndHashCode

public String[] fieldsExcludedFromEqualsAndHashCode()
Overrides:
fieldsExcludedFromEqualsAndHashCode in class ObjectWithReflectiveEqualsHashCodeToString


Copyright © 2017. All rights reserved.