public class UrlTracker extends Object
Details of the implementation are arguable.
Constructor and Description |
---|
UrlTracker()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSensitive(URL url)
Indicates whether a given URL is potentially sensitive.
|
boolean |
isUrlPermitted(URL url)
Indicates whether access to a given URL should be permitted,
according to the strategy implemented by this class,
from a Web Profile client.
|
void |
noteIncomingUrl(URL url)
Note that a URL has been communicated to a Web Profile client
from the outside world.
|
void |
noteOutgoingUrl(URL url)
Note that a Web Profile client has communicated a URL to the
outside world.
|
public void noteIncomingUrl(URL url)
url
- incoming URLpublic void noteOutgoingUrl(URL url)
url
- outgoing URLpublic boolean isUrlPermitted(URL url)
url
- URL to assessprotected boolean isSensitive(URL url)
url
- URL to assessCopyright © 2008–2024. All rights reserved.