org.apache.webdav.lib

Class 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 String
DELETE_NOTIFICATION
static String
MOVE_NOTIFICATION
static String
NEW_MEMBER_NOTIFICATION
static String
UPDATE_NOTIFICATION

Constructor Summary

Subscription(String path, int id, String callback, long lifetime, String contentLocation, String notificationType)

Method Summary

String
getCallback()
String
getContentLocation()
int
getId()
long
getLifetime()
String
getNotificationType()
String
getPath()

Field Details

DELETE_NOTIFICATION

public static final String DELETE_NOTIFICATION

MOVE_NOTIFICATION

public static final String MOVE_NOTIFICATION

NEW_MEMBER_NOTIFICATION

public static final String NEW_MEMBER_NOTIFICATION

UPDATE_NOTIFICATION

public static final String UPDATE_NOTIFICATION

Constructor Details

Subscription

public Subscription(String path,
                    int id,
                    String callback,
                    long lifetime,
                    String contentLocation,
                    String notificationType)

Method Details

getCallback

public String getCallback()

getContentLocation

public String getContentLocation()

getId

public int getId()

getLifetime

public long getLifetime()

getNotificationType

public String getNotificationType()

getPath

public String getPath()