org.skunk.dav.client
Class Timeout

java.lang.Object
  |
  +--org.skunk.dav.client.Timeout

public class Timeout
extends java.lang.Object

not fully compliant with RFC2518: currently only supports Infinite and one Second value. may be extended to support TimeTypes of "Other" as per RFC2518, section 9.8.


Field Summary
static long MAX_SECONDS
           
 
Constructor Summary
Timeout(java.lang.Long timeout, boolean isInfinite)
           
 
Method Summary
static Timeout getTimeout(java.lang.String timeoutStr)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_SECONDS

public static final long MAX_SECONDS
Constructor Detail

Timeout

public Timeout(java.lang.Long timeout,
               boolean isInfinite)
Method Detail

getTimeout

public static Timeout getTimeout(java.lang.String timeoutStr)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object