org.robolectric.shadows.httpclient.HttpRequestInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-httpclient Show documentation
Show all versions of shadows-httpclient Show documentation
An alternative Android testing framework.
package org.robolectric.shadows.httpclient;
import org.apache.http.HttpHost;
import org.apache.http.HttpRequest;
import org.apache.http.client.RequestDirector;
import org.apache.http.protocol.HttpContext;
public class HttpRequestInfo {
HttpRequest httpRequest;
HttpHost httpHost;
HttpContext httpContext;
RequestDirector requestDirector;
public HttpRequestInfo(
HttpRequest httpRequest,
HttpHost httpHost,
HttpContext httpContext,
RequestDirector requestDirector) {
this.httpRequest = httpRequest;
this.httpHost = httpHost;
this.httpContext = httpContext;
this.requestDirector = requestDirector;
}
public HttpRequest getHttpRequest() {
return httpRequest;
}
public HttpHost getHttpHost() {
return httpHost;
}
public HttpContext getHttpContext() {
return httpContext;
}
public RequestDirector getRequestDirector() {
return requestDirector;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy