|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.abstracthorizon.danube.webdav.util.Timeout
public class Timeout
Object that represents a "Timout" header of WebDAV specification.
| Field Summary | |
|---|---|
static Timeout |
INFINITE
Infinite timeout |
protected int |
seconds
Number of seconds |
| Constructor Summary | |
|---|---|
Timeout(int timeout)
Constructor |
|
| Method Summary | |
|---|---|
String |
asString()
Retunrs this object's representation as required by the header |
long |
calculateValidity()
|
static Timeout |
parse(String s)
|
String |
toString()
Returns string representation of the object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Timeout INFINITE
protected int seconds
| Constructor Detail |
|---|
public Timeout(int timeout)
timeout - timeout in seconds| Method Detail |
|---|
public String asString()
public String toString()
toString in class Objectpublic long calculateValidity()
public static Timeout parse(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||