fr.cnes.sitools.notification
Class ObserverResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.notification.NotificationAbstractResource
fr.cnes.sitools.notification.ObserverResource
public final class ObserverResource
- extends NotificationAbstractResource
Resource for managing observers subscription
- Author:
- jp.boignard (AKKA Technologies)
Method Summary |
org.restlet.representation.Representation |
addObserver(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Add an observer |
org.restlet.representation.Representation |
deleteObserver(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
Delete an obsever |
void |
describeDelete(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
|
void |
describePost(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
|
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObserverResource
public ObserverResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Specified by:
sitoolsDescribe
in class AbstractSitoolsResource
addObserver
@Post
public org.restlet.representation.Representation addObserver(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Add an observer
- Parameters:
representation
- the representationvariant
- the variant
- Returns:
- Representation
describePost
public void describePost(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
deleteObserver
@Delete
public org.restlet.representation.Representation deleteObserver(org.restlet.representation.Representation representation,
org.restlet.representation.Variant variant)
- Delete an obsever
- Parameters:
representation
- the representationvariant
- the variant
- Returns:
- Representation
describeDelete
public void describeDelete(org.restlet.ext.wadl.MethodInfo info,
java.lang.String path)
Copyright © 2010-2013 CNES. All Rights Reserved.