Class PropFindResponseEntity
- java.lang.Object
-
- org.exoplatform.services.jcr.webdav.command.propfind.PropFindResponseEntity
-
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
public class PropFindResponseEntity extends Object implements javax.ws.rs.core.StreamingOutput
Created by The eXo Platform SARL .- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
-
Field Summary
Fields Modifier and Type Field Description protected intdepthRequest depth.protected WebDavNamespaceContextnamespaceContextNamespace context.protected OutputStreamoutputStreamOutput stream.protected Set<QName>propertyNamesThe list of properties to get.protected booleanpropertyNamesOnlyBoolean flag, shows if only property names a requested.protected ResourcerootResourceRoot resource.protected javax.jcr.SessionsessionSession.protected XMLStreamWriterxmlStreamWriterXML writer.
-
Constructor Summary
Constructors Constructor Description PropFindResponseEntity(int depth, Resource rootResource, Set<QName> propertyNames, boolean propertyNamesOnly)PropFindResponseEntity(int depth, Resource rootResource, Set<QName> propertyNames, boolean propertyNamesOnly, javax.jcr.Session session)Constructor.
-
-
-
Field Detail
-
xmlStreamWriter
protected XMLStreamWriter xmlStreamWriter
XML writer.
-
outputStream
protected OutputStream outputStream
Output stream.
-
namespaceContext
protected final WebDavNamespaceContext namespaceContext
Namespace context.
-
rootResource
protected final Resource rootResource
Root resource.
-
depth
protected final int depth
Request depth.
-
propertyNamesOnly
protected final boolean propertyNamesOnly
Boolean flag, shows if only property names a requested.
-
session
protected final javax.jcr.Session session
Session.
-
-
Constructor Detail
-
PropFindResponseEntity
public PropFindResponseEntity(int depth, Resource rootResource, Set<QName> propertyNames, boolean propertyNamesOnly, javax.jcr.Session session)Constructor.- Parameters:
depth- reqest depth.rootResource- root resource.propertyNames- the list of properties requestedpropertyNamesOnly- if only property names a requested
-
-
Method Detail
-
write
public void write(OutputStream stream) throws IOException
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput- Throws:
IOException
-
-