How can I find out the type of returned file?

I use java.net.HttpURLConnection and java.net.URL and I need to know how to determine the type of file, return to.

I mean, some URLS does not explicitly specify .pdf at the end, but despite this they send a pdf file.

Thanks in advance!

Typically, you use the "Content-Type" header to convey this kind of information on http exchanges.

Tags: Java

Similar Questions

  • How can I find out the type of current platform?

    Hello

    I want to know the platform type (in the format of v$ transportable_platform.platform_type) of an Oracle instance (on 10g 2 and 11 g 1). The transportable_platform of $ v shows a list of all supported platforms and all I want is the type that is encoded in data files - v$ datafile does not provide this information.

    Thank you
    Adrian

    Alleaume wrote:
    Hello

    I want to know the platform type (in the format of v$ transportable_platform.platform_type) of an Oracle instance (on 10g 2 and 11 g 1). The transportable_platform of $ v shows a list of all supported platforms and all I want is the type that is encoded in data files - v$ datafile does not provide this information.

    Thank you
    Adrian

    Dear Adrian, use the following query:

    select PLATFORM_NAME from v$database;
    
  • How can I find out what type of ram and the maximum amount that I can add to my: xp professional 32-bit PC?

    How can I find out what type of ram and the amount, maximum I can add to my: xp professional 32-bit PC?

    Thanks, GregCY

    Original title: RAM

    Fastest and easiest is to go to http://www.crucial.com/systemscanner/ and download and use the scanner.

  • How can I find out the version of java, oracle has?

    How can I find out the version of java, as oracle has built?

    I have tried with...

    SELECT identifiant_composant, ComputerName, version
    OF dba_registry;

    "But I get..' table does not exist'."

    Thenks in advance!

    11 GR 2 includes Java version 1.5, according to the above link

    HTH
    Srini

  • How can I find out the manufacturer of my bluetooth driver?

    I have a hp pavilion ultrabook 14-b112eo. There are three different bluetooth drivers to choose from, Intel, Atheros and Broadcom. How can I find out which device manufacturers is present in my laptop?

    Hello:

    That is right.

    You install the Qualcomm Atheros BT software and the driver for your model.

    You don't need to uninstall the generic Microsoft BT adapter before you install the new driver.

  • How can I find out the date of the purchase of my laptop?

    Hello guys

    I bought a laptop Toshiba of Extra business @ Jeddah, Saudi Arabia
    & I want to know how can I know the Date of purchase of this one because I missed the payment invoice & when I register my laptop Toshiba web site he asks me about the Date of purchase.

    Please help me
    Thank you very much
    Good bye

    Don t think you can find the date of purchase.
    Where this should know without a payment of invoices or sales controls.

    What you can do is when the laptop has been recorded on page of Toshiba.

    [Toshiba warranty Lookup | http://computers2.toshiba.co.uk/toshiba/formsv3.nsf/WarrantyEntitlementLookup?OpenForm]

  • How can I find out the version of autoconfig?

    Hello
    I'm on 12.1.1

    determine my version autopatch I used Note 390666.1
    I ran

    SET head off lines 120 pages 100
    n_patch col A10 format
    numero_de_bogue col A10 format
    patch_name col A10 format
    coil LACF_ptch_level.txt
    Select 'APFC' FROM dual;
    /
    Select numero_de_bogue, decode (numero_de_bogue,
    ' 4494373 ',' R12. T2K. A'
    , ' 5872965 ',' R12. OAM. A'
    , ' 5909746 ',' R12. T2K. A.1'
    , ' 5917601 ',' R12. T2K. A.2'
    , ' 6077487 ',' R12. T2K. A.DELTA.3'
    , ' 6145693 ',' R12. RapidClone Jan2008 idiots '
    , ' 6776948 ',' R12. RapidClone CONSOLIDATED"
    ) n_patch, last_update_date
    Of ad_bugs
    WHERE numero_de_bogue IN ('4494373', '5872965', '5909746', '5917601', '6077487', 6145693', 6776948');

    the output has been


    4494373 R12. T2K. A 4 JANUARY 07
    4494373 R12. T2K. 22 JANUARY 08
    5872965 R12. OAM. A 22 OCTOBER 07
    5872965 R12. OAM. A 22 OCTOBER 07
    5909746 R12. T2K. A. 22 OCTOBER 07
    1

    5909746 R12. T2K. A. 21 JANUARY 08
    1

    5917601 R12. T2K. A. 22 OCTOBER 07
    2

    5917601 R12. T2K. A. 21 JANUARY 08
    2

    6077487 R12. T2K. A. 22 OCTOBER 07
    DELTA.3

    6077487 R12. T2K. A. 21 JANUARY 08
    DELTA.3

    6145693 R12. RAPIDC 6 November 08
    Only drawbacks
    Jan2008


    How can I know the version of the autoconfiguration of that service?

    Thank you

    Hello

    4494373 R12. T2K. A 4 JANUARY 07
    4494373 R12. T2K. 22 JANUARY 08
    5872965 R12. OAM. A 22 OCTOBER 07
    5872965 R12. OAM. A 22 OCTOBER 07
    5909746 R12. T2K. A. 22 OCTOBER 07
    5909746 R12. T2K. A. 21 JANUARY 08
    5917601 R12. T2K. A. 22 OCTOBER 07
    5917601 R12. T2K. A. 21 JANUARY 08
    6077487 R12. T2K. A. 22 OCTOBER 07
    6077487 R12. T2K. A. 21 JANUARY 08
    6145693 R12. RAPIDC 6 November 08

    How can I know the version of the autoconfiguration of that service?

    The foregoing indicates that the latest patches applied are 6077487 and 6145693.

    To find the latest patches AutoConfig and quick Clone on R12, please see:

    Note: 387859.1 - AutoConfig helps manage system Configurations in Oracle E-Business Suite Release 12
    Note: 406982.1 - cloning Oracle Applications V12 with rapid Clone

    Thank you
    Hussein

  • How can I find out the password for my router, I missed place

    I want to add another computer to use though, I can't find the password for my router.  Is it possible to find it on one of my other computers.

    Except if you have really tightened down on the security of your router, adding another computer should be a simple to plug it.  In any case, most routers can be reset by default (including the password) by pressing the button of reset for about 10 seconds.  As you do not have the brand or the model of router in your post, all I can recommend is for more specific information, you should go to your router manufacturer's website and download the manual for your make and model of router and follow the instructions.

    HTH,
    JW

  • After putting a Photo in an Album, how can I find out the area of the main picture as its already in an Album?

    Hi guys, I've been long organize my 20 000 + photos in iPhoto. I decided to tackle this task this week since the new iPhone 7 publishes.

    My question is after I added a photo in an album since the main area of photos, how do I know if this picture is in an album already since the main area of photos so I do not add it again? I don't want to go crazy looking for pictures in the album and then comparing it to the main area of photos etc etc etc. I just want to know from the main area of photos that the photo is already in an album.

    Thank you!

    You can create a smart album with the single rule:

    Album is not a

    To create smart album using ' file > new Smart Album.

    This smart album will contain only photos that are not in any standard album.

    Add photos to this smart album to other an albums, not from the main view of 'pictures '.

  • How can I find out what type of ODI is I installed?

    Hello

    I saw there are two types of ODI as follows:

    (1) ODI-EE
    (2) following ODI

    Now, I want to know my ODI type, who have installed.

    How will I know?

    -Shrinivas

    ORACLE DATA INTEGRATION SUITE PRODUCTS are as follws

    Oracle Data Integrator Enterprise Edition
    Oracle Data relationship management
    Oracle BPEL Process Manager
    Oracle Service Bus
    Oracle WebLogic Enterprise Edition

    This set is called ODI Suite.

    You must have installed ODI-EE

    SRC: http://www.oracle.com/us/products/middleware/data-integration/data-integration-suite/index.html

    It may be useful

    Kind regards
    Gatha

  • How can I find out the specifications of my hard drive?

    I have a Latitude D620 (great computer!) but the HARD part is a bit small (60 GB) drive. I found the product reference number and found the player on the site Web of Hitachi (the manufacturer), but it has 2 options for the interface, ATA-6 SATA 1.5 GB/s. I would like to get a new drive (and an envelope for the old man, so I can use it as an external), anyone able to tell me what interface do I need? I have found a cheap Hitachi drive with the SATA connection, but do not want to order if it could not work.

    Thank you

    Felix


  • How can I find out what type of program s are on my p / now

    I'm guilty of adding and deleting what I find on this p/c

    Click START, click Control Panel... click programs... click on uninstall and all your existing installed programs will appear.

  • How can I find out the password to one of my email accounts (forgotten & lost in the upgrade to Windows 7)?

    I have 3 email accounts and managed to re-setup 2 of them successfully. However, I don't remember the password to 3rd, who was named more precisely (and this is why I don't want to set up another new account).

    You must ask your ISP to reset the password for you, then keep a written record of all passwords.

  • How can I find out the current running of BPEL instance?

    EM, I saw he had a case running in the page of each casting BPEL, and there is total. But when I was running performance tests, "Ongoing enforcement proceedings" is always 0 and the total number is correct. Is there another way to get the current number of running instances? Thank you.

    The value for the CUBE_INSTANCE States are:

    0--> launched
    1--> open and running
    2--> open and suspension
    3--> open and faillees
    4--> closed and pending
    5--> closed and filled
    6--> closed and faillees
    7--> cancelled and closed
    8--> closed and abandoned
    9--> closed and stale

    See you soon,.
    -AR

  • HP15-g036cy: How can I find out how much ram I can put in my computer

    How can I find out the maximum ram that held my computer

    Repair:

    Manual

    It should read a little bit carefully. Since yours is AMD there's a single memory slot and he holds a module up to 8 GB in capacity. See page 1-2

    See also page 65, which shows how very difficult to access the memory location it is. You must remove the motherboard.

    If your laptop seems slow, it's because he has a very low CPU; the APU E1-2100 of 1.0 GHz AMD. This processor is frankly more like something in a good smartphone or tablet. Increase the RAM probably not make the system faster.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

Maybe you are looking for

  • Apple TV connection Mac Pro (2009)

    I have a Mac Pro (2009). I wish I could watch pictures and videos on my TV via Apple TV. Is there a way to do this? What equipment or programs do I need? I can connect and watch YouTube on my iPhone through Apple TV. Is there a way I can make it thro

  • Download to iCloud library doesn't work

    How can I resolve a situation no download? Thank you I have an iMac, iPhone + iPad

  • Cannot connect camera Basler USB 3.0 to IMAX

    Hi all I have a few question about connect the Basler USB 3.0 camera with LabVIEW. I use camera Basler acA1600-20um, it does not appear on my NOR-MAX. in fact, there are only "Basler USB3 Vision camera 'USB-0' ace' and the error when I try to click o

  • Upgrade processor TouchSmart

    Does anyone has replaced the processor i3 with an i5 or i7 on a 610 1010uk?

  • Bad recording playback quality

    When I record my voice with a microphone, or only through micro computer, when I play it back makes my voice sound very low and deep.  Is it because of my SigmaTel Audio (its provided with my computer card)?  I have Windows XP.