Java URL Open openURLConnection(final URL couchdbURL)

Here you can find the source of openURLConnection(final URL couchdbURL)

Description

open URL Connection

License

Open Source License

Declaration

public static HttpURLConnection openURLConnection(final URL couchdbURL) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.io.IOException;

import java.net.HttpURLConnection;

import java.net.URL;

public class Main {
    public static HttpURLConnection openURLConnection(final URL couchdbURL) {
        try {//  w  w  w. j a  v a2s.  c  o m
            return (HttpURLConnection) couchdbURL.openConnection();
        } catch (IOException ioe) {
            throw new RuntimeException(ioe);
        }
    }
}

Related

  1. openReader(String aUrl)
  2. openStream(String aURL)
  3. openURL(URL source_url)