Class PropFindResponseHandler
- java.lang.Object
-
- net.fortuna.ical4j.connector.dav.response.PropFindResponseHandler
-
- All Implemented Interfaces:
Consumer<org.apache.http.HttpResponse>
,ResponseHandler
public class PropFindResponseHandler extends Object implements ResponseHandler
-
-
Constructor Summary
Constructors Constructor Description PropFindResponseHandler(org.apache.jackrabbit.webdav.client.methods.HttpPropfind propfind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(org.apache.http.HttpResponse httpResponse)
boolean
exists()
Map<String,org.apache.jackrabbit.webdav.property.DavPropertySet>
getCollections(List<ResourceType> types)
Get the list of collections from a MultiStatus (HTTP 207 status code) response and populate the list of properties of each collection.String
getDavPropertyUri(org.apache.jackrabbit.webdav.property.DavPropertyName type)
org.apache.jackrabbit.webdav.property.DavPropertySet
getPropertySet()
List<SupportedFeature>
getSupportedFeatures()
boolean
succeeded()
-
-
-
Method Detail
-
getPropertySet
public org.apache.jackrabbit.webdav.property.DavPropertySet getPropertySet()
-
getSupportedFeatures
public List<SupportedFeature> getSupportedFeatures() throws FailedOperationException
- Throws:
FailedOperationException
-
getCollections
public Map<String,org.apache.jackrabbit.webdav.property.DavPropertySet> getCollections(List<ResourceType> types) throws org.apache.jackrabbit.webdav.DavException
Get the list of collections from a MultiStatus (HTTP 207 status code) response and populate the list of properties of each collection.- Throws:
org.apache.jackrabbit.webdav.DavException
-
getDavPropertyUri
public String getDavPropertyUri(org.apache.jackrabbit.webdav.property.DavPropertyName type) throws org.apache.jackrabbit.webdav.DavException
- Throws:
org.apache.jackrabbit.webdav.DavException
-
succeeded
public boolean succeeded()
-
exists
public boolean exists()
-
-