How could I set the proxy settings for just some URLs and not for all?

Hello,
I am using HttpURLConnection to establish a HTTP connection . The connection pass through a proxy, and it requires security.
I know that I can set the proxy settings in the system properties, and this works perfect.
But I don't want to set the proxy settings in the system properties, because this proxy settings will be for ALL the URLs, and I just want for a few URLs.
How could I set the proxy settings for just some URLs and not for all?
Thanks

java.net.URL.openConnection(java.net.Proxy proxy)
@since 1.5

Similar Messages

  • ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    The jewish calendar does not have names for the days of the week. The week ends with the holy Sabbath (Saturday) and therefore the Sunday is the first days after Sabbath (Yom Rishon), the Monday the second day after Sabbath (Yom Sheini), etc.
    The Christians believe that Christ was raised on the first days of the week (Mathew 28:1, et al) AFTER the Sabbath was over. So their holy day is the Sunday and the working week starts on a Monday.
    The business days in the western world are numbered starting with the Monday as day number 1 (Timetables of Airlines, Calendars, even Microsoft Windows...).
    Unfortunately in the United States religious freedom extends to a level which is not understood easily by the rest of the world. Since the MAC OS X allows to change the first day from a Sunday to a Monday, one might wonder why Apple decided to give the iPhone a jewish touch.
    It could be supposed that this is the way of the least resistance. Only few complain about this issue, but if it were the other way around a lot of people would complain...
    PS: I agree with the others here: It is very, very annoying and more than once I entered an appointment into the wrong day...;-)

  • How do i set the proxy user in FF 3.6.13, this entry was existing earlier its gone now. using IE with entries in user account pwds works while FF doesn't.

    How do i set the proxy user in FF 3.6.13.
    previous versions had an entry for proxy user.
    its gone now.
    using IE with entries in user account pwds works while FF doesn't.
    too bad have to change back to IE :-(

    You can find the connection settings in Tools > Options > Advanced : Network : Connection
    See "Firefox connection settings":
    *[[Firefox cannot load websites but other programs can]]

  • HT1296 When I try to sync I get a message that says "waiting for items the sync" then it just stays there and runs for as long as I keep it hooked up. Any ideas?

    When I try to sync I get a message that says "waiting for items the sync" then it just stays there and runs for as long as I keep it hooked up. Any ideas?

    I have tried everything I could to fix this, but some things require actually being on Firefox, and since I cannot get on, I cannot click on the tabs to do it. I have even totally uninstalled firefox, and that has not fixed this. I still get the same message that firefox is running and I need to close it or restart (which I have also tried dozens of times). I have removed things like Java, and that has not helped either. If I cannot even get on line in firefox, how can I fix this. I am not crazy about using internet explorer, but right now, it is my only option. I even tried to start in safe mode, and the same message box pops up!

  • I just synced my iPhone and lost all the info in notes from my phone. It was replaced with whT was on my iMac how do you make the sync go from phone to desktop and not the other way around

    I Just synced my iPhone and lost all the info in notes I had on the phone. How do you have the info sync from phone to desktop and not the other way around as I usually make contact changes etc on my phone. I would then like to be able to sync that info from desktop to ipad thanks

    It does make sense.  The iPhone is a one-person device and just syncs to one computer.
    The way it should work is as follows:
    Old computer content ---> New computer
    New computer <---> syncs to iPhone
    But the way you are trying to operate sounds like:
    Old computer content ---> iPhone
    ... and ...
    New computer content <---> iPhone
    So simply move your old stuff (either directly from iTunes, or from a computer backup) to the new computer, have it all there, then sync your iPhone to the new machine.

  • Setup of Inspection Lots for some vendors and not for all

    Hello,
    We do have a situation where in the business wants Inspection Lots to be set up for some vendors and not for some vendors - for the same material.
    What it means is, for Material XXXXX001, Vendor 00003 needs inspection during GR for Purchase Order and Vendor 00005 and 00006 should be set up for Non Inspection upon GR and stocks should be posted to Unrestricted.
    Any suggestions / options are welcome.
    Thanks
    Kris

    Hello,
    You can use vendor q-info records to handle this... deactivate the goods receipt inspection on the vendor(s) that do not require incoming inspection.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/c6/b9b3341a933f50e10000009b38f83b/frameset.htm
    Regards,
    John

  • Why or how could firefox change my proxy settings without me doing anything right in the middle of browsing the internet?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    While I was browsing the internet suddenly nothing would happen when I clicked a link. Upon closing and opening firefox and trying to load a web page it said "the proxy server is refusing connection. Firefox is configured to use a proxy server that is refusing connections."
    I did manage to fix the problem by changing the proxy settings from manual to auto-detect but what disturbs me is how those settings could be changed without me doing so right in the middle of using the internet. I dont know if its a bug or a security issue but I thought I would let you guys know.
    == This happened
    ==
    Just once or twice
    == In the middle of browsing the Internet
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name Firefox
    Version 3.6.7
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Exif Viewer 1.55 true [email protected]
    Java Console 6.0.18 false
    Java Quick Starter 1.0 false [email protected]
    Microsoft .NET Framework Assistant 1.1 true {20a82645-c095-46ed-80e3-08825760534b}
    FiddlerHook 2.2.8.2 false [email protected]
    Torbutton 1.2.5 true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar 0
    browser.places.importBookmarksHTML false
    browser.places.smartBookmarksVersion 2
    browser.startup.homepage www.google.ca
    browser.startup.homepage_override.mstone rv:1.9.2.7
    browser.tabs.warnOnClose false
    extensions.lastAppVersion 3.6.7
    general.useragent.extra.microsoftdotnet (.NET CLR 3.5.30729)
    network.cookie.prefsMigrated true
    network.security.ports.banned 8118,8123,9050,9051
    places.last_vacuum 1279480436
    privacy.cpd.cookies false
    privacy.cpd.sessions false
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 0
    security.warn_viewing_mixed false
    == Firefox version
    ==
    3.6.7
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-Adobe PDF Plug-In For Firefox and Netscape
    *Default Plug-in
    *Shockwave Flash 10.0 r42
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    Calvin W.:
    Your extensions list shows an enabled "Torbutton 1.2.5" extension, so it is possible that that extension is responsible for that change.

  • How do I set the conversion settings for Word to ignore outline autonumbering for headings?

    I have a user manual in Word that uses outline autonumbering for Heading 1, Heading 2, etc. For example, "1.0 Introduction," "1.1 System Settings" and so on).
    I know when setting the conversion settings for FrameMaker, you can select the Ignore Autonumber option in the Conversion Settings dialog to keep only the paragraph content. I don't see anything like this for the Word Conversion Settings. Does this capability exist?

    To clarify:
    I have my paragraphs in Word set up with the required numbering properties using Word's Style settings. In Word, I want the headings to be numbered 1.0, 1.1, 1.1.1, etc. because the intent is for the reader to read through the manual like a book - from start to finish.
    I'm single-sourcing my manual from Word into RoboHelp to generate an online help package. However, I do not want my RoboHelp headings to be numbered because the user may or may not read each topic in order (in other words, they may only need to read what's in section 3.2, but won't get there by reading sections 1.0 through 3.1 first). I might also clarify that each heading is its own topic - so Section 3.2 would be a separate topic from 3.0 and 3.1.
    So for example, in Word, it reads like this:
         "1.0 Introduction
         [content goes here]
         1.1 System Requirements
         [content goes here]
         1.2 References
         [content goes here]"
    And in RoboHelp, I want it like this
         "Introduction
         [content goes here]"
         ---[end of topic]---
         "System Requirements
         [content goes here]"
         ---[end of topic]---
         "References
         [content goes here]"
         ---[end of topic]---
    Does that make sense?
    So how do I keep the numbering in my Word document, but set up the Conversion Settings in RoboHelp to ignore those numbers and only include the text following the autonumber? I have been able to do this when single-sourcing a FrameMaker book into RoboHelp.

  • How Do I set the "Record" settings in Sound booth.

    How Do I set the "Record" bit settings in Sound Booth, i.e. the 16 bit rate so that the wav files will burn to a music CD. (the default 48 will dot burn to a CD).
    Thanks Marv.

    Why not post in the SB forum?
    Go to File/Record and set the format to what you need:

  • Ipad shows all regular Iphone inbound calls as Facetime.  I only want true FT calls to appear. I switch audio/video and it still happens.  How can I set the Ipad to only register true facetime calls rather than all inbound regular calls?  thanks

    My Ipad  will show all regular inbound calls, from Iphone, as Facetime calls.  I would like only TRUE facetime calls to appear. I have switched audio/video on Ipad but it still happens.  How can I set the Ipad to only register only true FT calls rather than all inbound calls that a re not facetime calls?  Yes, you may have to reread this twice and slowly to understand..... Thanks!

    Hi webn,
    I understand that you do not wish to see phone calls on your iPad anymore. I have an article for you with some information on accomplishing this goal:
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    https://support.apple.com/en-us/HT6337
    Turn off iPhone cellular calls
    To turn off iPhone cellular calls on your iPad or iPod touch, go to Settings > FaceTime and turn off iPhone Cellular Calls.
    On your Mac, open the FaceTime app and go to FaceTime > Preferences. Click Settings and deselect the iPhone Cellular Calls option.
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • How could i set the RangeSize of an UI iterator programatically ?

    I have a use case to vary the RangeSize of an UI iterator programatically (the value is obtained from a user input). I found that the RangeSize parameter in the <iterator> definition does not accept EL expressions. I tried to set this RangeSize through a method call in the task flow before this UI view is invoked and bound the method to this UI view's pageDef and removed the RangeSize while defining the iterator.
    <iterator Binds="Employee"
                  DataControl="EmployeeAMDataControl"
                  id="EmployeeIterator"/>
    Java Code to set the RangeSize: // accepts the iterator name as a string input
        DCBindingContainer bindings = (DCBindingContainer) this.getBindings();
        DCIteratorBinding objectIterator = bindings.findIteratorBinding(iterator);
        objectIterator.setRangeSize(_getRangeSize()); // _getRangeSize() returns an int
       public BindingContainer getBindings()
           FacesContext fc = FacesContext.getCurrentInstance();
           return (BindingContainer) fc.getApplication().evaluateExpressionGet(fc, "#{bindings}", BindingContainer.class);
    This setting is ignored and the iterator always to return 25 records. Any suggestions on how i could achieve this use case ?
    thanks
    kaarthik

    Hi karthik,
    Try setting the same using the viewobject in the code.
        DCBindingContainer bindings = (DCBindingContainer) this.getBindings(); 
        DCIteratorBinding objectIterator = bindings.findIteratorBinding(iterator);
        objectIterator.getViewObject().setRangeSize(_getRangeSize());
    Thanks,
    Raj Gopal K

  • Where can i set the proxy settings

    Using beta 4 of Firefox mobile with Android 2.2. I need to set proxy server, but can not find it.

    To set a proxy server in Firefox 4 beta for Android:
    #Type "about:config" in the address bar and press return.
    #Type "proxy.http" into the search box on the about:config page.
    #Tap on "network.proxy.http" and type the server name into the text box.
    #Tap on "network.proxy.http_port" and type the port number into the number box.

  • IOS: How can i set the email settings / emai account programmatically?

    I want to set the imap or pop mail settings programmatically.

    Log into your iCloud account on your computer, then click your user name in the right top then click on the time zone in the popup window. 

  • How can I set the sampling frequency in Labview if I am not using DAQ?

     I am working with bluetooth to send my four signals from my circuit to the computer. So, I am using VISA to acquire the data in labview. Since as you know its not possible to use DAQ while using bluetooth. 
    anyway after getting the signal I need to filter ir for analysis part and I am using filter express VI from signal processing's functions. However, I am getting error, since I dont have the sampling frequency set and I am not able to set it in my filter function either.
    I was wondering If there is a way of making labview recognize the clock-timer as the sampling rate or any other way to set the sampling frequency somewhere before the filters. 
    here is the program, you can take a look at it.
    Attachments:
    shift final - Copy.vi ‏363 KB

    Sender side is sendng 2 bytes of FF in the begining of the loop and 2 bytes of zeros between each signal, I am attaching the code as ICCV8 file (I will also attach it as a notepad file), so you can see what I mean. I had written some solutions for that as well in my program before but not sure if it was correct or not. I tried to search for  FF bytes as a string, after getting each 18 bytes. But apparently it doesnt find the FF, I reckon because of wrong conversions beforehand, so it stops the programm there. Im attaching the that program now as well. could you please take a look?
    Attachments:
    main.c ‏2 KB
    bluetooth code.txt ‏2 KB
    ok - Copy.vi ‏159 KB

  • So how do I REALLY get the toolbar buttons to just show icons (and not text)?

    On my Bookmarks toolbar, my bookmarks "buttons" show icon AND text. I just want to show icon, not text. When I go right-click.....customize, the window "customize toolbars" opens. Down in the bottom left corner the "show" option dropdown is already set to "icons" (and only icons). But it's just not so. The toolbar buttons show icons AND text. If I cycle through that dropdown just for kicks, it doesn't change; I can choose "icons (only)" all day long, but the toolbar buttons still show text.

    Either of the following Add-ons allow you to show icons only and/or to have multiple rows on the Bookmarks Toolbar. Set the options on either after installation.
    *Multirow Bookmarks Toolbar Plus - https://addons.mozilla.org/en-US/firefox/addon/multirow-bookmarks-toolbarplus/
    *Roomy Bookmarks Toolbar - https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/
    Other - Check your Plugins and update as needed.
    #Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
    #'''''Adobe Shockwave for Director Netscape plug-in, version 11.6.4.634''''' (this old version has security issues)
    #*http://kb.mozillazine.org/Shockwave
    #*Download, save, close all browsers, run the installer you downloaded - http://get.adobe.com/shockwave/thankyou/

Maybe you are looking for