|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.viewerproxy.URIObserver
public abstract class URIObserver
Super class for all URIObservers - calls the URIObserver notify method on all notifications of a URI and its response code.
Nested Class Summary | |
---|---|
(package private) static class |
URIObserver.URIResponseCodePair
Helper class to be able to notify about a pair of |
Constructor Summary | |
---|---|
URIObserver()
|
Method Summary | |
---|---|
abstract void |
notify(java.net.URI uri,
int responseCode)
This notify method is called on every notification of URI and response code. |
void |
update(java.util.Observable o,
java.lang.Object arg)
Will call the abstract notify method if arg is an URIResponseCodePair value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URIObserver()
Method Detail |
---|
public abstract void notify(java.net.URI uri, int responseCode)
uri
- The uri notified aboutresponseCode
- The response code of this uri.public final void update(java.util.Observable o, java.lang.Object arg)
update
in interface java.util.Observer
o
- The observable which called this method. Ignored.arg
- The argument. If Response instance, notify is called.
Otherwise ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |