Code example for SchemeRegistry

Methods: register

0
        } 
    } 
 
    public AppEngineClientConnectionManager() { 
        SocketFactory noop_sf = new NoopSocketFactory();
        schemes = new SchemeRegistry();
        schemes.register(new Scheme("http",  noop_sf, 80));
        schemes.register(new Scheme("https", noop_sf, 443));
    } 
 
    public void closeExpiredConnections() { 
        return; 
    } 
 
    public void closeIdleConnections(long idletime, TimeUnit tunit) {
        return; 
    } 
 
    public ManagedClientConnection getConnection(HttpRoute route, Object state) {
        return new AppEngineClientConnection(route, state);
    }