/** * 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); }
public static HttpRequest getLatestSentHttpRequest() { return ShadowDefaultRequestDirector.getLatestSentHttpRequest(); }