Code example for HttpRequestExecutor

0
    } 
 
     
    @Override 
    protected HttpRequestExecutor createRequestExecutor() {
        return new HttpRequestExecutor();
    } 
 
 
    @Override 
    protected ClientConnectionManager createClientConnectionManager() {
        SchemeRegistry registry = new SchemeRegistry();
        registry.register(
                new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
        registry.register(
                new Scheme("https", SSLSocketFactory.getSocketFactory(), 443));
 
        ClientConnectionManager connManager = null;     
        HttpParams params = getParams();
         
        ClientConnectionManagerFactory factory = null;