public interface ObservationDavServletResponse extends DavServletResponse
ObservationDavServletResponse
provides extensions to the
DavServletResponse
interface used for dealing with observation.SC_FAILED_DEPENDENCY, SC_INSUFFICIENT_SPACE_ON_RESOURCE, SC_LOCKED, SC_MULTI_STATUS, SC_PROCESSING, SC_UNPROCESSABLE_ENTITY
Modifier and Type | Method and Description |
---|---|
void |
sendPollResponse(EventDiscovery eventDiscovery)
Send the response to a successful POLL request.
|
void |
sendSubscriptionResponse(Subscription subscription)
Send the response to a successful SUBSCRIBE request.
|
sendError, sendMultiStatus, sendRefreshLockResponse, sendXmlResponse
void sendSubscriptionResponse(Subscription subscription) throws java.io.IOException
subscription
- that needs to be represented in the response body.java.io.IOException
void sendPollResponse(EventDiscovery eventDiscovery) throws java.io.IOException
eventDiscovery
- EventDiscovery
object to be returned in
the response body.java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"