Example usage for org.apache.http.client.methods CloseableHttpResponse interface-usage

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

Introduction

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

Usage

From source file org.camunda.connect.httpclient.TestResponse.java

public class TestResponse extends BasicHttpResponse implements CloseableHttpResponse {

    public TestResponse() {
        this(HttpVersion.HTTP_1_1, 200, "OK");
    }

From source file org.elasticsearch.client.CloseableBasicHttpResponse.java

/**
 * Simple {@link CloseableHttpResponse} impl needed to easily create http responses that are closeable given that
 * org.apache.http.impl.execchain.HttpResponseProxy is not public.
 */
class CloseableBasicHttpResponse extends BasicHttpResponse implements CloseableHttpResponse {

From source file org.carewebframework.vista.api.mbroker.BrokerResponse.java

/**
 * Converts the response from a REST call via the broker to an http response.
 */
class BrokerResponse extends BasicHttpResponse implements CloseableHttpResponse {

    /**

From source file bit.changepurse.wdk.http.MockedApacheResponse.java

@SuppressWarnings("deprecation")
public class MockedApacheResponse implements CloseableHttpResponse {

    public static final String HTTP = "HTTP";

    private static final ProtocolVersion DEFAULT_PROTOCOL_VERSION = new ProtocolVersion(HTTP, 1, 1);

From source file com.baidubce.http.BceCloseableHttpResponse.java

/**
 * The implement from interface CloseableHttpResponse.
 */
public class BceCloseableHttpResponse implements CloseableHttpResponse {
    private final HttpResponse original;

From source file org.wso2.carbon.apimgt.handlers.mock.MockHttpResponse.java

/**
 * Mock http response to be used in the test cases.
 *
 */
public class MockHttpResponse implements CloseableHttpResponse {
    private HttpEntity httpEntity;

From source file org.llorllale.youtrack.api.mock.http.response.MockForbiddenResponse.java

/**
 * Mock implementation of {@link HttpReponse} suitable for unit tests. Simulates an HTTP response
 * with code 403.
 * @author George Aristy (george.aristy@gmail.com)
 * @since 0.4.0
 */

From source file com.ksc.http.response.HttpResponseProxy.java

/**
 * A proxy class for {@link org.apache.http.HttpResponse}.
 */
@SuppressWarnings("deprecation")
@NotThreadSafe
public class HttpResponseProxy implements CloseableHttpResponse {

From source file com.amazonaws.http.response.HttpResponseProxy.java

/**
 * A proxy class for {@link org.apache.http.HttpResponse}.
 */
@NotThreadSafe
public class HttpResponseProxy implements CloseableHttpResponse {

From source file org.llorllale.youtrack.api.mock.http.response.MockInternalErrorResponse.java

/**
 * Mock impl. of {@link HttpResponse} that simulates an HTTP response from YouTrack with error code
 * 500.
 * @author George Aristy (george.aristy@gmail.com)
 * @since 1.0.0
 */