Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.pubnub.api;
 
 
 abstract class HttpClient {
 
     protected Hashtable _headers;
    public static HttpClient getClient(int connectionTimeoutint requestTimeoutHashtable headers) {
        return new HttpClientCore(connectionTimeoutrequestTimeoutheaders);
    }
    public void reset() {
        shutdown();
    }
    public abstract int getRequestTimeout();
    public abstract void setRequestTimeout(int requestTimeout);
    public abstract int getConnectionTimeout();
    public abstract void setConnectionTimeout(int connectionTimeout);
    public abstract void shutdown();
    public abstract HttpResponse fetch(String urlthrows IOException,
                PubnubException;
    public abstract HttpResponse fetch(String urlHashtable headers)
    throws IOExceptionPubnubException;
New to GrepCode? Check out our FAQ X