com.googlecode.xremoting.core.http
Interface HttpConnectionFactory
- All Known Implementing Classes:
- DefaultHttpConnectionFactory
public interface HttpConnectionFactory
Factory for HttpURLConnection instances.
- Author:
- Roman Puchkovskiy
openConnection
HttpURLConnection openConnection(String url)
throws MalformedURLException,
IOException
- Opens a new connection.
- Parameters:
url - URL to which to open connection via HTTP/HTTPS.
- Returns:
- connection
- Throws:
MalformedURLException - if URL is not correct
IOException - if any other error occurs (like no
route to host)
Copyright © 2011. All Rights Reserved.