|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.rim.device.api.io.http.HttpFilterRegistry
Houses protocol filters associated with fully qualified domain names.
| Method Summary | ||
|
static void |
deregisterFilter(java.lang.String fqdn)
Deregisters a previously registered filter. |
|
static java.lang.String |
getFilter(java.lang.String fqdn)
Retrieves a previously registered package by fully qualified domain name. |
|
static boolean |
isLocalFilter(java.lang.String fqdn)
Retrieves whether an associated filter is defined to have local access. |
|
static void |
registerFilter(java.lang.String fqdn,
java.lang.String protocolPackage)
Registers a new fully qualified domain name (FQDN) with a package name. |
|
static void |
registerFilter(java.lang.String fqdn,
java.lang.String protocolPackage,
boolean isLocal)
Registers a new fully qualified domain name (FQDN) with a package name. |
| Method Detail |
public static void registerFilter(java.lang.String fqdn,
java.lang.String protocolPackage)
fqdn - Fully qualified domain name (eg. www.blackberry.com).protocolPackage - The java package where the Protocol.java class
will be found. (eg. com.yourcompany.somepackage); the package name must
have a Protocol java class inside of the package for instantiation.ControlledAccessException - if the calling application is not
allowed according to Application Control by the IT Administrator for the
device to register a filter. Note that by default all applications are
not allowed to register filters. This functionality must be turned on by
the IT administrator.
public static void registerFilter(java.lang.String fqdn,
java.lang.String protocolPackage,
boolean isLocal)
fqdn - Fully qualified domain name (eg. www.blackberry.com).protocolPackage - The java package where the Protocol.java class
will be found. (eg. com.yourcompany.somepackage); the package name must
have a Protocol java class inside of the package for instantiation.isLocal - Whether or not this filter will do network access in any way.
The browser can check this value and allow access to local filters when the
radio is off or the device is out of coverage.ControlledAccessException - if the calling application is not
allowed according to Application Control by the IT Administrator for the
device to register a filter. Note that by default all applications are
not allowed to register filters. This functionality must be turned on by
the IT administrator.public static void deregisterFilter(java.lang.String fqdn)
fqdn - Fully qualified domain name (eg. www.blackberry.com)ControlledAccessException - if the calling application is not
allowed according to Application Control by the IT Administrator for the
device to deregister a filter. Note that by default all applications are
not allowed to deregister filters. This functionality must be turned on
by the IT administrator.public static java.lang.String getFilter(java.lang.String fqdn)
fqdn - Fully qualified domain name (eg. www.blackberry.com).public static boolean isLocalFilter(java.lang.String fqdn)
fqdn - Fully qualified domain name (eg. www.blackberry.com).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2005 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.