|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.addressbook.Subscription
public class Subscription
A subscription to a remote address book.
Constructor Summary | |
---|---|
Subscription(java.lang.String location,
java.lang.String etag,
java.lang.String lastModified)
Construct a Subscription pointing to the address book at location, that was last read at the time represented by etag and lastModified. |
Method Summary | |
---|---|
java.lang.String |
getEtag()
Return the etag header that we recieved the last time we read this subscription. |
java.lang.String |
getLastModified()
Return the last-modified header that we recieved the last time we read this subscription. |
java.lang.String |
getLocation()
Return the location this Subscription points at. |
void |
setEtag(java.lang.String etag)
Set the etag header. |
void |
setLastModified(java.lang.String lastModified)
Set the last-modified header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Subscription(java.lang.String location, java.lang.String etag, java.lang.String lastModified)
location
- A String representing a url to a remote address book.etag
- The etag header that we recieved the last time we read this
subscription.lastModified
- the last-modified header we recieved the last time we read
this subscription.Method Detail |
---|
public java.lang.String getLocation()
public java.lang.String getEtag()
public void setEtag(java.lang.String etag)
etag
- A String containing the etag header.public java.lang.String getLastModified()
public void setLastModified(java.lang.String lastModified)
lastModified
- A String containing the last-modified header.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |