public interface Report extends XmlSerializable
Report
interface defines METHODS needed in order to respond
to a REPORT request. The REPORT method is a required feature to all
DeltaV resources.DeltaVResource.getReport(ReportInfo)
Modifier and Type | Method and Description |
---|---|
ReportType |
getType()
Returns the registered type of this report.
|
void |
init(DavResource resource,
ReportInfo info)
Set the
DeltaVResource for which this report was requested
and the ReportInfo as specified by the REPORT request body,
that defines the details for this report.Please note that this methods should perform basic validation checks in order to prevent exceptional situations during the xml serialization. |
boolean |
isMultiStatusReport()
Returns true if this
Report will send a MultiStatus
response.Please note that RFC 3253 that the the response must be a 207 Multi-Status, if a Depth request header is present. |
toXml
ReportType getType()
boolean isMultiStatusReport()
Report
will send a MultiStatus
response.void init(DavResource resource, ReportInfo info) throws DavException
DeltaVResource
for which this report was requested
and the ReportInfo
as specified by the REPORT request body,
that defines the details for this report.resource
- info
- DavException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.