Consists of interface used to store connectivity properties like username, password etc.
com.sap.mobile.lib.request
public interface IConnectivityParameters extends
All members of IConnectivityParameters, including inherited members.
MethodsModifier and Type | Method | Description |
---|---|---|
public void | enableXsrf(Boolean) | Sets the XSRFEnabled flag. |
public String | getBaseUrl() | Returns the base URL for the requests. |
public String | getLanguage() | Returns the language setting. |
public TrustManager[] | getTrustManagers() | Returns an array of TrustManager instances. |
public String | getUserName() | Returns the username. |
public String | getUserPassword() | Returns the password. |
public boolean | isAutoRedirectEnabled() | Returns whether auto redirect is enabled. |
public void | setAutoRedirectEnabled(boolean) | Enables or disables auto redirect. |
public void | setBaseUrl(String) | Sets the base URL for requests. |
public void | setLanguage(String) | Sets the language used in connection. |
public void | setServerCertificate(final Certificate[]) | Sets the server certificate array. |
public void | setServerCertificate(final Certificate) | Sets a single server certificate. |
public void | setUserName(String) | Sets the username which must be used during authentication. |
public void | setUserPassword(String) | Sets the password. |