|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.oracle.mobile.io.ConnectionParameters
public class ConnectionParameters
Class which holds set of connection parameters.
Nested Class Summary | |
class |
ConnectionParameters.Parameter
|
Field Summary | |
static int |
ACCESS_POINT_PARAMETER
Parameter type value for access point parameter. |
static int |
HTTP_PROXY_PARAMETER
Parameter type value for http proxy parameter. |
static int |
HTTP_PROXY_PASSWORD_PARAMETER
Parameter type value for http proxy password parameter. |
static int |
HTTP_PROXY_USERNAME_PARAMETER
Parameter type value for http proxy username parameter. |
Constructor Summary | |
ConnectionParameters()
|
Method Summary | |
java.lang.Object |
getParameter(int paramType)
Returns the value of the specified connection parameter. |
java.util.Enumeration |
getParameters()
Returns an enumeration of the parameters set. |
void |
removeParameter(int paramType)
Removes the specified connection parameter. |
void |
setParameter(ConnectionParameters.Parameter param)
Sets the specified connection parameter, replacing any previous association. |
void |
setParameter(int paramType,
java.lang.Object value)
Sets the specified connection parameter to the specified value, replacing any previous association. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ACCESS_POINT_PARAMETER
public static final int HTTP_PROXY_PARAMETER
public static final int HTTP_PROXY_USERNAME_PARAMETER
public static final int HTTP_PROXY_PASSWORD_PARAMETER
Constructor Detail |
public ConnectionParameters()
Method Detail |
public void setParameter(int paramType, java.lang.Object value)
paramType
- type of the parameter to setvalue
- new parameter's valuepublic void setParameter(ConnectionParameters.Parameter param)
param
- parameter to setpublic java.lang.Object getParameter(int paramType) throws java.lang.IllegalArgumentException
paramType
- parameter type to get value
java.lang.IllegalArgumentException
- if there is no such parameterpublic void removeParameter(int paramType)
paramType
- param type to removepublic java.util.Enumeration getParameters()
|
Oracle Java Wireless Client | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |