List of usage examples for com.squareup.okhttp OkHttpClient subclass-usage
From source file co.paralleluniverse.fibers.okhttp.FiberOkHttpClient.java
/** * Fiber-blocking OkHttp's {@link OkHttpClient} implementation. * * @author circlespainter */ public class FiberOkHttpClient extends OkHttpClient {
From source file com.bambora.nativepayment.testresources.network.MockedHttpClient.java
/** * Created by oskarhenriksson on 14/12/15. */ public class MockedHttpClient extends OkHttpClient { private LocalResponseInterceptor mInterceptor;
From source file com.granita.contacticloudsync.HttpClient.java
public class HttpClient extends OkHttpClient { private final int MAX_LOG_LINE_LENGTH = 85; final static UserAgentInterceptor userAgentInterceptor = new UserAgentInterceptor(); static final String userAgent;
From source file com.raskasa.metrics.okhttp.InstrumentedOkHttpClient.java
/** Wraps an {@link OkHttpClient} in order to provide data about its internals. */ final class InstrumentedOkHttpClient extends OkHttpClient { private static final Logger LOG = LoggerFactory.getLogger(InstrumentedOkHttpClient.class); private final MetricRegistry registry; private final OkHttpClient rawClient; private final String name;
From source file com.tomtom.camera.api.BanditOkHttpClient.java
/** * Custom OkHttpClient used for communicating with Camera Api. Provides cancelling of download request * without directly owning/referencing a {@link Call} */ public class BanditOkHttpClient extends OkHttpClient {
From source file net.money2013.win.hb.net.utils.RestClient.java
/** * * @author aisaev */ public class RestClient extends OkHttpClient { private static final String BASE_URL = "https://money2013.net";
From source file net.yatomiya.e4.util.StandardHttpClient.java
public class StandardHttpClient extends OkHttpClient { public Call execute(Request request, Callback callback, boolean isSynchronous) { Call call = newCall(request); if (isSynchronous) { try { Response response = call.execute();
From source file org.dataconservancy.cos.osf.client.support.BeanAccessibleOkHttpClient.java
/**
* Wraps an OkHttpClient providing getters and setters for Spring and any other frameworks that follow the JavaBean
* standard.
*
* @author Elliot Metsger (emetsger@jhu.edu)
*/
From source file org.openhab.binding.netatmo.handler.TrustingOkHttpClient.java
/**
* {@link TrustingOkHttpClient} is a OkHttpClient subclass
* that does clears positively every certificate request
*
* @author Gal L'hopital
*
From source file org.openhab.binding.netatmo.internal.handler.TrustingOkHttpClient.java
/**
* {@link TrustingOkHttpClient} is a OkHttpClient subclass
* that does clears positively every certificate request
*
* @author Gal L'hopital - Initial contribution
*