Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.twitterapime.io
Class HttpConnector

    java.lang.Object
      com.twitterapime.io.HttpConnector

    public final class HttpConnector

extends java.lang.Object

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.

Since:
  1.0
Version:
  1.3
Author:
  Ernandes Mourao Junior (ernandes@gmail.com)
See Also:
  `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

### open

    public static HttpConnection open(java.lang.String url)
                               throws java.io.IOException

  Create and open a HttpConnection.

  Parameters:
    `url` - The URL for the connection.
  Returns:
    A new HttpConnection object.
  Throws:
    `java.io.IOException` - If an I/O error occurs.
    `java.lang.IllegalArgumentException` - If url is null or empty.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Twitter API ME Team. All Rights Reserved.