Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8418607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:22:50+00:00 2026-06-10T02:22:50+00:00

ThreadSafeClientConnManager is deprecated and a new method is introduced PoolingClientConnectionManager . The documentation of

  • 0

ThreadSafeClientConnManager is deprecated and a new method is introduced PoolingClientConnectionManager.

The documentation of PoolingClientConnectionManager says

Manages a pool of client connections and is able to service connection
requests from multiple execution threads. Connections are pooled on a
per route basis.

My Question

What is the meaning of per route basis here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T02:22:51+00:00Added an answer on June 10, 2026 at 2:22 am

    It refers to the HttpRoute. The HttpRoute is to delineate multiple applications running on the same web server.

    http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/conn/routing/HttpRoute.html

    It is used like below:

    ClientConnectionRequest connRequest = connMrg.requestConnection(
            new HttpRoute(new HttpHost("localhost", 80)), null);
    ManagedClientConnection conn = connRequest.getConnection(10, TimeUnit.SECONDS);
    try {
        BasicHttpRequest request = new BasicHttpRequest("GET", "/");
        conn.sendRequestHeader(request);
        HttpResponse response = conn.receiveResponseHeader();
        conn.receiveResponseEntity(response);
        HttpEntity entity = response.getEntity();
        if (entity != null) {
            BasicManagedEntity managedEntity = new BasicManagedEntity(entity, conn, true);
            // Replace entity
            response.setEntity(managedEntity);
        }
        // Do something useful with the response
        // The connection will be released automatically 
        // as soon as the response content has been consumed
    } catch (IOException ex) {
        // Abort connection upon an I/O error.
        conn.abortConnection();
        throw ex;
    }
    

    source: http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to implement connection pool with Apache HttpClient (4.1.3) and ThreadSafeClientConnManager
I'm using a connection created by ThreadSafeClientConnManager (Apache httpcomponents 4.1.1). The response is chunked
I want to make a connection to an https server using SSL client authentication
I'm using DefaultHttpClient with a ThreadSafeClientConnManager on Android (2.3.x) to send HTTP requests to
I am using ThreadSafeClientConnManager for multithreading in a java application. My ThreadSafeClientConnManager object is
I'm using a ThreadSafeClientConnManager to perform simultaneous requests in background threads on Android, set
from time to time (especially when I have a bad connection) I obtain NonRepeatableRequestException
I am using HttpClient 4.02 to create a connection via proxy (using the CONNECT
I am trying to make a secure connection to a OCS server through https
I'm new java. I created a java project to call my webservice(Servlet,Tomcat6.0). To use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.