How to make a multiple request without waiting for a response in java ?

A more specific question:
how to make a multiple HTTP request without waiting for a HTTP response in java (using httpURLConnection)?
Thanks

Thanks for responding.
But i want to make further request to the same resource URL. I want to reuse the connection, don't want to create a new connection for each of individual request.
How can i do that using HttpURLConnection ?
Thanks.

Similar Messages

  • How can I download a transfer without waiting for it be all transferred?

    How can I download a transfer without waiting for it be all transferred? Thanks.

    Thanks, that now makes sense. Once an item enters the download queue, the user cannot remove it. Either let it complete the download (easiest) or contact the iTunes Store customer support department through the Contact page (select the category and subcategory closest to the issue you're reporting and you'll find either an "Express Lane" button - just follow the instructions to get to the contact form - or an "Email Us" button) and ask them if they'll remove the item(s) from your queue for you.
    Regards.

  • Sending a request to a servlet without waiting for a response

    Hi,
    I have a client application that needs to send information to a servlet for processing. I would like to be able to send the information in question without having to wait for a response from the servlet. The reason for this is that I want to speed up the "sending" process. I know that http communication is based on TCP which is a connection-oriented network protocol, but I thought maybe there was a work-around to this.
    Thanks in advance for your help,
    Chris

    There r two ways to do this. First, if you can modify the application simply don't wait for the response do whatever you want and ignore the response. If you need the response in order to continue you will have to wait, but you can do this in a separate thread, while the main thread can do other things.
    Second, if you can't modify the application but you can modify the servlet, make the servlet respond as quick as possible, doing the work after having answered. Once again if the application needs the results of the process there is no way, you'll have to wait.

  • Display a message without waiting for user response

    Hi,
    I'm currently trying to find the best way to display a message, and multiple messages to the user, so that he is informed of the processing.
    I've tryied the dialog box but it's waiting for user confirmation so it interrupts the execution of the VI.
    Another precision is that I call the dialog in a case structure, so does it act?
    I'm thinking about using a VI dedicated to the displaying of the message but I may not be able to display multiple message boxes.
    Can anyone help me to use the best way?
    Thank you in advance.
    Bim

    You can build the message display into your vi by using the techniques shown in the attached vi (LV7.1.1)
    It is just a string indicator with large font size, and using property nodes to show/hide when necessary.
    - tbob
    Inventor of the WORM Global
    Attachments:
    MessageDisplay.vi ‏31 KB

  • How to make the OAF page Read-Only for one Responsibility?

    I have a requirement to make the entire OAF page to Read-only for particular Responsibility.
    Is there any direct option to make page Read-only ?
    Can anyone suggest some solution?

    Hi,
    Check one article on
    http://www.applikast.net/technical/oa-fwk/misc/making-an-oa-framework-page-readonly
    or you can do Personalization for each item on page.
    Thanks,
    Abhi

  • How can I select multiple photos without tapping on each one individually

    How can I select multiple photos without tapping on each one individually?

    Op: without tapping on each one individually
    tap all the photos you want to delete.
    Note what the OP is asking.

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • HT5114 How can I create multiple accounts without the necessity to create multiple email addresses?  I now have 2 i-phones (mine and my wife's#, 1 i-pad #mine#, 1 i-pad mini #10 year old's#, and 1 I-pod touch #11 year old's).  I would like to maintain pur

    How can I create multiple accounts without the necessity to create multiple email addresses?  I now have 2 i-phones (mine and my wife's), 1 i-pad (mine), 1 i-pad mini (10 year old's), and 1 I-pod touch (11 year old's).  I would like to maintain purchase control, but would like to be able to have a separate account ID for each person.  Is that possible?

    Each email address can only be on one iTunes account, and all purchases are tied to the account that buys them. If you want to have separate iTunes accounts on each then you will need separate email accounts for each iTunes account

  • HT2477 How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    How do I select multiple images without clicking on each one? Is there a way to select duplicate photos to delete them?

    Consider adding the delete symbol to the Finder window tool bar.  This way you can highlight all the photos you want to delete at the same time then hit the "delete" symbol.
    Open a Finder window/View/Customize Toolbar - follow the directions in the customized pop down window.

  • How to know the current Task/Job ID in which a request is waiting for

    Hi Team,
    Is there any table/view in IDM 7.2 that provides current task/job ID number a request is waiting for?
    Even though the last completed phase of the request can be seen from admin UI that only shows the description of the completed steps but not the technical details like task ID/Job ID of the current step.
    Knowing the current step/Job ID helps the admin a lot to directly go the step when the request is waiting for long/got failed etc..
    Regards,
    Venkata Bavirisetty

    Hi Matt,
    Thanks for your response.
    I read few articles in your blog couple of weeks before and they are very much informative.
    The information provided in the provisioning queue just shows the task ID and no.of requests (without request nos) waiting in that task.
    Basically the question I have mentioned in my previous post is not related to any specific task type. It is like using request no we wanted to know complete request history specially the current task (task ID) at which the request is waiting for.
    Regards,
    Venkata Bavirisetty

  • I  want to make a bootable usb drive for my macbook air,and my ystem is osx mountain lion 10.8.5. How can i download it again without repaying for it so i can make my bootable flashdrive? I'm pretty new at this computer stuff so i don't know how things

    I want to make a bootable usb drive for my macbook air,and my system is osx mountain lion 10.8.5. How can i download it again without repaying for it so i can make my bootable flashdrive? I'm pretty new at this computer stuff so i don't know how things work.
    Message was edited by: tzaphon

    This is not difficult and you will not have to download from the app store.
    your computer has what is called  a recovery partition that came with it.
    simply hold cmd+R while you boot up. let go a second after you hear the chime.
    you will boot into the recovery partition.
    Use disk utlity to format your usb drive and then exit Disk utlity and go to Reinstall Mountain Lion.
    it will ask  you which disk you want to install ML onto. Choose your new USB drive.
    easy peasy

  • How do you download multiple apps without having to enter the password each time

    How do you download multiple apps without having to enter the password each time

    You don't, this is a security measure which can't be changed, however, if you purchase another App within 15 minutes your password should not be required.

  • How to make a peace of code wait to be exicutes/loading bar

    hello i would like to know how to make a peace of code wait like 3 or 4 secounds before being exicuted
    <example>
    System.out.println("Loading back up prefes...");
    // wait 3 secounds
    System.out.println("Loding hardware prefs...");
    //wait 3 secounds
    //...ect
    </example>
    im a novice java prgrammer and im looking to know how to do that kind of stuff

    >
    yeah i figured now one would help a noob>What?! No-one posted you the codes in that entire 6 minutes you waited patiently?
    As a bonus though, if you don't get the solution in 30 minutes, it's free! ;-)

  • My computer shut down in the middle of downloading a movie rental and after restarting my computer, the rental was deleted. How do I get it back without paying for it again?

    my computer shut down in the middle of downloading a movie rental and after restarting my computer, the rental was deleted. How do I get it back without paying for it again?

    Reinstall OS X without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • I had 21 songs i my album and after syncronising i only had 15 songs left! All of them from Itunes! How can i get them back without paying for them again???

    I had 21 songs i my album and after syncronising i only had 15 songs left! All of them from Itunes! How can i get them back without paying for them again???
    Hello!!!
    I had 21 songs i my album and after syncronising i only had 15 songs left! All of them from Itunes! How can i get them back without paying for them again???
    Hello!!!
    This realy works??

    Where is the backup of the media and other important files from the computer?  Ultimately, it is the users responsibility to ensure that backups exists. Waiting until there is a problem to decide to do a backup is not smart.  Would you wait until a fire started in your home to call the insurance company and inquire about homeowners/renters insurance????
    In the event that no backup exists (stop being lazy.... keep backups of YOUR data and other important files):
    If you are in the US and running iTunes 10.3 or later, it is possible to redownload music via iCloud from purchased history.
    If you are not in the US or for some reason cannot run iTunes 10.3 or later, contact iTunes customer support and ask very nicely for the opportunity to redownload the content.  They are not required to provide this opportunity.
    It is also possible to transfer content from an iDevice that was purchased via iTunes.  On the new computer, sign into the iTunes account, authorize the computer, connect the device then select File > Transfer Purchases.
    The simplest method of all is to transfer or copy the media (and other important files) from the old computer or the backup of the old computer.  Typing "move itunes library" into the search bar here or into google will reveal step by step instructions on how to do this.

Maybe you are looking for

  • How to Update employee Effective Start Date

    Guys i am getting error while making terminate of an employee the error is being occurred as "the Person Must Exist as an Employee at the Time Specified by date start". after lot of finding, Ii came to know that the problem is being occur due to mism

  • Not able to see GC information in the logs even if verbose:gc is set

    Hi, We have IAS 6.0 SP4. My iasenv.ksh script is set to : if [ "$script" = "kjs" ] then ## Set all User Level JVM flags for KJS here. SPACE=" " # set this variable to YES to run SmartHeap enabled kjs MEMOPT_KJS=YES ## Desired JVM flags. A grab bag of

  • Applescript compiles .app as directory why

    OS 10.6.8 with the latest patches AppleScript Editor 2.3 AppleScript 2.1.2 On 12/1/2012 compiled AppleScripts as app (application) and output was a single file with the extension .app.  Today the same compiled script yields a directory of files none

  • BAPI or FM to do scheduled(planned) material master change

    If this is has been asked and answered before I apologize in advance.  Sorry, but I can't seem to find it. I am quite happy with using fm BAPI_MATERIAL_SAVEDATA.  But as far as I am aware, this does an immediate change only.  I am trying to find a si

  • How to calculate statistics stale %

    Hi All, i have configured automatic statistics gathering job in my database(11.2.0.4) to calculate object statistics with stale % a>= 10. I am having a doubt how Oracle calculates stale percentage of an object. I did search in OTN discussion and foun