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

  • SEARCH
  • Home
  • 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 7571765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:45:05+00:00 2026-05-30T15:45:05+00:00

We are using URLConnection in java for for sending and receiving responses to a

  • 0

We are using URLConnection in java for for sending and receiving responses to a webservice. For a particular use case we need to be able to send concurrent non-blocking requests to the same web-service. I like the curl multi-get way of doing this, since it uses the OS (standard POSIX features) to do this.

The ideas was to start with something like this.

http://curl.haxx.se/libcurl/c/multi-post.html

Is there a way to do this in Java? I know that we can use a ThreadPoolExecutor/Threads etc.. but I prefer a curl multi-get like solution.

  • 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-05-30T15:45:06+00:00Added an answer on May 30, 2026 at 3:45 pm

    There is no way to do this in Java.

    Mainly because Java is system independent and therefore cannot assume to have a POSIX compatible OS at hand.

    Threads are the best way to implement this in Java.

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

Sidebar

Related Questions

I need to connect to the middleware server using java URL and URLConnection classes
I'm trying to parse a webpage using Java with URLConnection. I try to set
I am trying to authenticate to a server's secure URL using java.net.urlconnection - based
Are there any Clojure http libraries that use the java.net.URLConnection class? Reason I'm asking
I'm using the Java URL and URLConnection classes to upload an file to a
In my java program,I use URLConnection to get a url.It works fine under windows,but
Im implementing a project in java using webservices and I need to figure out
I want to send post request to some service using Java. Requests must contain
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using C#, I need a class called User that has a username, password, active

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.