Class MatcherHelper

java.lang.Object
com.niklasarndt.okhttpmock.matchers.MatcherHelper

public final class MatcherHelper
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    static java.util.regex.Pattern any()  
    static java.util.regex.Pattern exact​(java.lang.String text)  
    static java.util.regex.Pattern prefix​(java.lang.String text)  
    static java.lang.String reason​(java.lang.String expected, java.lang.String actual)  
    static java.util.regex.Pattern suffix​(java.lang.String text)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • any

      public static java.util.regex.Pattern any()
    • exact

      public static java.util.regex.Pattern exact​(java.lang.String text)
    • prefix

      public static java.util.regex.Pattern prefix​(java.lang.String text)
    • suffix

      public static java.util.regex.Pattern suffix​(java.lang.String text)
    • reason

      public static java.lang.String reason​(java.lang.String expected, java.lang.String actual)