|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface extends the functionality of the PlugletManager
interface,
including methods to begin and end a wait cursor, determine if a URL protocol is
supported, and get proxy information for a URL.
Method Summary | |
void |
beginWaitCursor()
Puts up a wait cursor. |
void |
endWaitCursor()
Restores the previous (non-wait) cursor. |
java.lang.String |
findProxyForURL(java.net.URL url)
For a given URL, this method returns a String
for the proxy information. |
boolean |
supportsURLProtocol(java.lang.String protocol)
Returns true if a URL protocol (e.g., http ) is supported. |
Methods inherited from interface org.mozilla.pluglet.mozilla.PlugletManager |
getURL,
postURL,
reloadPluglets,
userAgent |
Method Detail |
public void beginWaitCursor()
public void endWaitCursor()
public boolean supportsURLProtocol(java.lang.String protocol)
true
if a URL protocol (e.g., http
) is supported.
protocol
- This is the protocol name.
Boolean
returns true
if the URL protocol is supported.public java.lang.String findProxyForURL(java.net.URL url)
String
for the proxy information.
The result will be in the following format:
DIRECT
-- means no proxy requiredPROXY xxx.xxx.xxx.xxx
-- use proxy
(where xxx.xxx.xxx.xxx
is the IP Address)SOCKS xxx.xxx.xxx.xxx
-- use SOCKS
(where xxx.xxx.xxx.xxx
is the IP Address)PROXY 111.111.111.111;PROXY 112.112.112.112;
PROXY 111.111.111.111;SOCKS 112.112.112.112
....
Which proxy/SOCKS to use is determined by the Pluglet
.
url
- This is the URL for which proxy information is desired. String
) about the proxy. See above for the format.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |