public static void addHttpResponseRule(String method, String uri, HttpResponse response) {
    getFakeHttpLayer().addHttpResponseRule(method, uri, response);
  }
public static void addHttpResponseRule(String method, String uri, HttpResponse response) {
    getFakeHttpLayer().addHttpResponseRule(method, uri, response);
  }
public static void addHttpResponseRule ( String method , String uri , HttpResponse response ) { getFakeHttpLayer ( ) . addHttpResponseRule ( method , uri , response ) ; }
Adds an HTTP response rule. The response will be returned when the rule is matched.

@param method   method to match.
@param uri      uri to match.
@param response response to return when a match is found.
Adds an HTTP response rule . The response will be returned when the rule is matched .