net.rim.device.api.io.transport.options
Class WapOptions

java.lang.Object
  extended by net.rim.device.api.io.transport.options.TransportTypeOptions
      extended by net.rim.device.api.io.transport.options.WapOptions

public class WapOptions
extends TransportTypeOptions

This class stores configuration information for the WAP 1.0 and WAP 1.1 transport types. If you provide an instance of this class to a ConnectionFactory object, the factory will use the configuration information when it creates a WAP 1.0 or WAP 1.1 connection.

Since:
BlackBerry API 5.0.0

Constructor Summary
WapOptions()
          Construct a WapOptions object
 
Method Summary
 String getTunnelAuthPassword()
          Retrieves the tunnelAuthPassword
 String getTunnelAuthUsername()
          Retrieves the tunnelAuthUsername
 String getWapGatewayApn()
          Retrieves the wapGatewayApn
 String getWapGatewayIp()
          Retrieves the wapGatewayIp
 String getWapGatewayPort()
          Retrieves the wapGatewayPort
 String getWapSourceIp()
          Retrieves the wapSourceIp
 String getWapSourcePort()
          Retrieves the wapSourcePort
 boolean isWapEnableWTLS()
          Retrieves the wapEnableWTLS
 void setTunnelAuthPassword(String tunnelAuthPassword)
          Sets the tunnelAuthPassword
 void setTunnelAuthUsername(String tunnelAuthUsername)
          Sets the tunnelAuthUsername
 void setWapEnableWTLS(boolean wapEnableWTLS)
          Sets the wapEnableWTLS
 void setWapGatewayApn(String wapGatewayApn)
          Sets the wapGatewayApn
 void setWapGatewayIp(String wapGatewayIp)
          Sets the wapGatewayIp
 void setWapGatewayPort(String wapGatewayPort)
          Sets the wapGatewayPort
 void setWapSourceIp(String wapSourceIp)
          Sets the wapSourceIp
 void setWapSourcePort(String wapSourcePort)
          Sets the wapSourcePort
 String toUrlOptionString()
          Converts the contents into a string that can be used in a URL.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

WapOptions

public WapOptions()
Construct a WapOptions object

Since:
BlackBerry API 5.0.0


Method Detail

getWapGatewayIp

public String getWapGatewayIp()
Retrieves the wapGatewayIp

Returns:
the wapGatewayIp
Since:
BlackBerry API 5.0.0

setWapGatewayIp

public void setWapGatewayIp(String wapGatewayIp)
Sets the wapGatewayIp

Parameters:
wapGatewayIp - the wapGatewayIp to set
Since:
BlackBerry API 5.0.0

getWapGatewayPort

public String getWapGatewayPort()
Retrieves the wapGatewayPort

Returns:
the wapGatewayPort
Since:
BlackBerry API 5.0.0

setWapGatewayPort

public void setWapGatewayPort(String wapGatewayPort)
Sets the wapGatewayPort

Parameters:
wapGatewayPort - the wapGatewayPort to set
Since:
BlackBerry API 5.0.0

getWapSourceIp

public String getWapSourceIp()
Retrieves the wapSourceIp

Returns:
the wapSourceIp
Since:
BlackBerry API 5.0.0

setWapSourceIp

public void setWapSourceIp(String wapSourceIp)
Sets the wapSourceIp

Parameters:
wapSourceIp - the wapSourceIp to set
Since:
BlackBerry API 5.0.0

getWapSourcePort

public String getWapSourcePort()
Retrieves the wapSourcePort

Returns:
the wapSourcePort
Since:
BlackBerry API 5.0.0

setWapSourcePort

public void setWapSourcePort(String wapSourcePort)
Sets the wapSourcePort

Parameters:
wapSourcePort - the wapSourcePort to set
Since:
BlackBerry API 5.0.0

getWapGatewayApn

public String getWapGatewayApn()
Retrieves the wapGatewayApn

Returns:
the wapGatewayApn
Since:
BlackBerry API 5.0.0

setWapGatewayApn

public void setWapGatewayApn(String wapGatewayApn)
Sets the wapGatewayApn

Parameters:
wapGatewayApn - the wapGatewayApn to set
Since:
BlackBerry API 5.0.0

getTunnelAuthUsername

public String getTunnelAuthUsername()
Retrieves the tunnelAuthUsername

Returns:
the tunnelAuthUsername
Since:
BlackBerry API 5.0.0

setTunnelAuthUsername

public void setTunnelAuthUsername(String tunnelAuthUsername)
Sets the tunnelAuthUsername

Parameters:
tunnelAuthUsername - the tunnelAuthUsername to set
Since:
BlackBerry API 5.0.0

getTunnelAuthPassword

public String getTunnelAuthPassword()
Retrieves the tunnelAuthPassword

Returns:
the tunnelAuthPassword
Since:
BlackBerry API 5.0.0

setTunnelAuthPassword

public void setTunnelAuthPassword(String tunnelAuthPassword)
Sets the tunnelAuthPassword

Parameters:
tunnelAuthPassword - the tunnelAuthPassword to set
Since:
BlackBerry API 5.0.0

isWapEnableWTLS

public boolean isWapEnableWTLS()
Retrieves the wapEnableWTLS

Returns:
wapEnableWTLS
Since:
BlackBerry API 5.0.0

setWapEnableWTLS

public void setWapEnableWTLS(boolean wapEnableWTLS)
Sets the wapEnableWTLS

Parameters:
wapEnableWTLS - the wapEnableWTLS to set
Since:
BlackBerry API 5.0.0

toUrlOptionString

public String toUrlOptionString()
Converts the contents into a string that can be used in a URL.

Returns:
urlOptionString a formated String that can be used in a connection URL.
Since:
BlackBerry API 5.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.