Example #1
0
 /**
  * Accessor to obtain metadata for an HTTP request made during the current test in the order in
  * which they were made.
  *
  * @param index index of the request to retrieve.
  * @return the requested request metadata.
  */
 public static HttpRequestInfo getSentHttpRequestInfo(int index) {
   return ShadowDefaultRequestDirector.getSentHttpRequestInfo(index);
 }
Example #2
0
 public static HttpRequest getLatestSentHttpRequest() {
   return ShadowDefaultRequestDirector.getLatestSentHttpRequest();
 }