ConnectionFactory class

Deprecated. since 3.0, Use com.sap.mobile.lib.request.ConnectionFactory ConnectionFactory class implementation, which is responsible to create the connection.

Syntax

public class ConnectionFactory extends ISDMPreferenceChangeListener

Members

All members of ConnectionFactory, including inherited members.

Constructors Methods
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.

Usage

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.