|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.twitterapime.io.HttpConnector
public final class HttpConnector
This is factory class for creating new HttpConnection objects.
The creation of HttpConnection is performed dynamically by looking up the current platform provider from PlatformProviderSelector class. For each supported platform, there is a specific implementation class.
The parameter string that describes the target should conform to the Http URL format as described in RFC 1738.
HttpConnection
Method Summary | |
---|---|
static HttpConnection |
open(java.lang.String url)
Create and open a HttpConnection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HttpConnection open(java.lang.String url) throws java.io.IOException
Create and open a HttpConnection.
url
- The URL for the connection.
java.io.IOException
- If an I/O error occurs.
java.lang.IllegalArgumentException
- If url is null or empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |