|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wink.webdav.server.WebDAVResponseBuilder
public class WebDAVResponseBuilder
Nested Class Summary | |
---|---|
static class |
WebDAVResponseBuilder.CollectionPropertyHandler
Extends the WebDAVResponseBuilder.PropertyHandler to provide additional data for the
creation of multistatus responses for collections (feeds). |
static class |
WebDAVResponseBuilder.PropertyHandler
Used during the creation of a WebDAV multistatus response to get the properties and their values. |
Method Summary | |
---|---|
static WebDAVResponseBuilder |
create(javax.ws.rs.core.UriInfo uriInfo)
|
javax.ws.rs.core.Response |
propfind(SyndEntry entry,
String propfindXml)
Process the PROPFIND request for a given entry and create a response using the default implementation of WebDAVResponseBuilder.PropertyHandler |
javax.ws.rs.core.Response |
propfind(SyndEntry entry,
String propfindXml,
WebDAVResponseBuilder.PropertyHandler handler)
Process the PROPFIND request for given document resource and create a response. |
javax.ws.rs.core.Response |
propfind(SyndFeed feed,
String propfindXml,
String depthStr)
Process the PROPFIND request for the given feed and create a response using the default implementation of WebDAVResponseBuilder.CollectionPropertyHandler |
javax.ws.rs.core.Response |
propfind(SyndFeed feed,
String propfindXml,
String depthStr,
WebDAVResponseBuilder.CollectionPropertyHandler provider)
Process the PROPFIND request for the given collection resource and create a response. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WebDAVResponseBuilder create(javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response propfind(SyndEntry entry, String propfindXml) throws IOException
WebDAVResponseBuilder.PropertyHandler
entry
- the entry containing the data to use to create the propfind
responsepropfindXml
- the propfind xml request to create the response for
IOException
public javax.ws.rs.core.Response propfind(SyndEntry entry, String propfindXml, WebDAVResponseBuilder.PropertyHandler handler) throws IOException
entry
- the entry containing the data to use to create the propfind
responsepropfindXml
- the propfind xml request to create the response forhandler
- a WebDAVResponseBuilder.PropertyHandler
that will be used to retrieve
the values of properties for the response
IOException
public javax.ws.rs.core.Response propfind(SyndFeed feed, String propfindXml, String depthStr) throws IOException
WebDAVResponseBuilder.CollectionPropertyHandler
feed
- the feed containing the data to use to create the propfind
responsepropfindXml
- the propfind xml request to create the response fordepthStr
- the value of the Depth header
IOException
public javax.ws.rs.core.Response propfind(SyndFeed feed, String propfindXml, String depthStr, WebDAVResponseBuilder.CollectionPropertyHandler provider) throws IOException
feed
- the feed containing the data to use to create the propfind
responsepropfindXml
- the propfind xml request to create the response fordepthStr
- the value of the Depth headerprovider
- a CollectionPropertyProvider that will be used to
retrieve the values of properties for the response
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |