All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.shadows.httpclient.HttpRequestInfo Maven / Gradle / Ivy

There is a newer version: 4.14.1
Show newest version
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