Deprecated. since 3.0, Use com.sap.mobile.lib.request.ConnectionFactory ConnectionFactory class implementation, which is responsible to create the connection.
All members of ConnectionFactory, including inherited members.
ConstructorsModifier and Type | Constructor | Description |
---|---|---|
public | ConnectionFactory(final ISDMLogger, final ISDMRequestManager, final ISDMPreferences) |
Modifier and Type | Method | Description |
---|---|---|
public void | clearHeaders() | |
public void | close() | |
public static DefaultHttpClient | getHttpClient(final String) | |
public HttpResponse | makeRequest(final String, final byte[]) | Make the request. |
public void | onPreferenceChanged(String, Object) | Callback method for preference change event. |
public void | setConnectionHeader(final String, final String) | |
public void | setRequestMethod(final int) | Set the HTTP request method. |
This class contains the platform related connection handling. This means, that for RIM and Android devices, the same network component can be used, only this ConnectionFactory must be different, because contains platform specific classes.