org.apache.webdav.lib
Class Subscription

java.lang.Object
  extended byorg.apache.webdav.lib.Subscription

public class Subscription
extends java.lang.Object

Object that holds information about a single WebDAV subscription.

See Also:
WebdavResource.subscribeMethod(String, String, String, long, int, long)

Field Summary
static java.lang.String DELETE_NOTIFICATION
           
static java.lang.String MOVE_NOTIFICATION
           
static java.lang.String NEW_MEMBER_NOTIFICATION
           
static java.lang.String UPDATE_NOTIFICATION
           
 
Constructor Summary
Subscription(java.lang.String path, int id, java.lang.String callback, long lifetime, java.lang.String contentLocation, java.lang.String notificationType)
           
 
Method Summary
 java.lang.String getCallback()
           
 java.lang.String getContentLocation()
           
 int getId()
           
 long getLifetime()
           
 java.lang.String getNotificationType()
           
 java.lang.String getPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPDATE_NOTIFICATION

public static final java.lang.String UPDATE_NOTIFICATION
See Also:
Constant Field Values

NEW_MEMBER_NOTIFICATION

public static final java.lang.String NEW_MEMBER_NOTIFICATION
See Also:
Constant Field Values

DELETE_NOTIFICATION

public static final java.lang.String DELETE_NOTIFICATION
See Also:
Constant Field Values

MOVE_NOTIFICATION

public static final java.lang.String MOVE_NOTIFICATION
See Also:
Constant Field Values
Constructor Detail

Subscription

public Subscription(java.lang.String path,
                    int id,
                    java.lang.String callback,
                    long lifetime,
                    java.lang.String contentLocation,
                    java.lang.String notificationType)
Method Detail

getCallback

public java.lang.String getCallback()

getContentLocation

public java.lang.String getContentLocation()

getId

public int getId()

getLifetime

public long getLifetime()

getNotificationType

public java.lang.String getNotificationType()

getPath

public java.lang.String getPath()