List of usage examples for org.apache.commons.httpclient HttpClient subclass-usage
From source file ws.antonov.config.consumer.mock.MockHttpClient.java
/**
* Copyright 2011 Alex Antonov
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
From source file org.hydracache.client.http.MockHttpClient.java
/** * @author Tan Quach (tquach@jointsource.com) * @since 1.0 */ public class MockHttpClient extends HttpClient {
From source file org.ambraproject.testutils.MockHttpClient.java
/** * Wrapper around {@link org.apache.commons.httpclient.HttpClientMock} that allows for setting * * @author Alex Kudlick 9/19/11 */ public class MockHttpClient extends HttpClient {
From source file poisondog.commons.httpclient.HttpClientSwitch.java
/** * @author Adam Huang <poisondog@gmail.com> */ public class HttpClientSwitch extends HttpClient { private HttpClient mClient;
From source file org.bits4j.httpclient.BitsHttpClient.java
/**
* The BitsHttpClient extends the HttpClient to wrap the execute calls and then
* inspect the Return Headers to determine what, if any Exceptions should be
* thrown from the handler.
* <p>
* For usage see the Apache Commons HttpClient class.
From source file org.osaf.caldav4j.methods.HttpClient.java
/**
* This class was extended in order to handle tickets. If a ticket is set on a
* resouce is will be included in the request. The default Action is to put the
* ticket in the Request Header.
*
* @author EdBindl
From source file smartrics.rest.client.MockHttpClient.java
public class MockHttpClient extends HttpClient { private int returnCode; private Exception exception; public MockHttpClient(int retCode) { returnCode = retCode;
From source file org.apache.sling.commons.testing.integration.TestInfoPassingClient.java
/** * HttpClient extension which also passes test related headers as part * of outgoing HTTP request */ public class TestInfoPassingClient extends HttpClient { //Defined in org.apache.sling.testing.tools.junit.TestLogRule
From source file eionet.cr.harvest.util.EndpointHttpClient.java
/**
* Just a helper extension of {@link HttpClient} that enables to get the last response code and message of the last
* executeMethod(...) method.
*
* @author jaanus
*/
From source file fr.unix_experience.owncloud_sms.engine.OCHttpClient.java
public class OCHttpClient extends HttpClient { private static final String TAG = OCHttpClient.class.getCanonicalName(); private static final String PARAM_PROTOCOL_VERSION = "http.protocol.version"; private final Uri _serverURI; private final String _username;