Example usage for org.apache.http.client HttpClient interface-usage

List of usage examples for org.apache.http.client HttpClient interface-usage

Introduction

In this page you can find the example usage for org.apache.http.client HttpClient interface-usage.

Usage

From source file org.deviceconnect.message.client.DConnectClient.java

/**
 * DConnectMessage???.
 * DConnectClient????????
 * ???????
 * @author NTT DOCOMO, INC.
 */

From source file com.ksc.http.apache.client.impl.ConnectionManagerAwareHttpClient.java

/**
 * An extension of Apache's HttpClient that expose the connection manager
 * associated with the client.
 */
public interface ConnectionManagerAwareHttpClient extends HttpClient {

From source file com.klarna.checkout.IHttpClient.java

/**
 * Extension of the org.apache.http.client.HttpClient interface to ensure we
 * have response and request interceptors.
 */
public interface IHttpClient extends HttpClient {

From source file org.exoplatform.social.client.api.net.SocialHttpClient.java

/**
 * Created by The eXo Platform SAS
 * Author : eXoPlatform
 *          exo@exoplatform.com
 * Jun 29, 2011  
 */

From source file com.yozio.android.FakeHttpClient.java

public class FakeHttpClient implements HttpClient {

    private static final String DEFAULT_BASE_URL = "http://localhost:1337";
    private HttpResponse httpResponse;
    private HttpPost lastRequest;

From source file mock.MockHttpClient.java

/**
 * @author Maksym Kulish
 */
public class MockHttpClient implements HttpClient {

    private HttpResponse resp;

From source file org.yamj.api.common.http.CommonHttpClient.java

public interface CommonHttpClient extends HttpClient {

    void setProxy(String host, int port, String username, String password);

    void setTimeouts(int connectionTimeout, int socketTimeout);

From source file com.canoo.dolphin.test.impl.HttpClientMock.java

public class HttpClientMock implements HttpClient {

    @Override
    public HttpParams getParams() {
        throw new RuntimeException("Functionality not supported for tests since in memory mode is used!");
    }

From source file org.fishwife.jrugged.httpclient.AbstractHttpClientDecorator.java

/**
 * General decorator class for an {@link HttpClient}; implementors for
 * decorators need only implement a single abstract method.
 */
public abstract class AbstractHttpClientDecorator implements HttpClient {

From source file com.android.volley.mock.MockHttpClient.java

public class MockHttpClient implements HttpClient {
    private int mStatusCode = HttpStatus.SC_OK;
    private HttpEntity mResponseEntity = null;

    public void setResponseData(HttpEntity entity) {
        mStatusCode = HttpStatus.SC_OK;