Class PropFindResponseEntity
java.lang.Object
org.exoplatform.services.jcr.webdav.command.propfind.PropFindResponseEntity
- All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput
Created by The eXo Platform SARL .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intRequest depth.protected final WebDavNamespaceContextNamespace context.protected OutputStreamOutput stream.The list of properties to get.protected final booleanBoolean flag, shows if only property names a requested.protected final ResourceRoot resource.protected final javax.jcr.SessionSession.protected XMLStreamWriterXML writer. -
Constructor Summary
ConstructorsConstructorDescriptionPropFindResponseEntity(int depth, Resource rootResource, Set<QName> propertyNames, boolean propertyNamesOnly) PropFindResponseEntity(int depth, Resource rootResource, Set<QName> propertyNames, boolean propertyNamesOnly, javax.jcr.Session session) Constructor. -
Method Summary
-
Field Details
-
xmlStreamWriter
XML writer. -
outputStream
Output stream. -
namespaceContext
Namespace context. -
rootResource
Root resource. -
propertyNames
The list of properties to get. -
depth
protected final int depthRequest depth. -
propertyNamesOnly
protected final boolean propertyNamesOnlyBoolean flag, shows if only property names a requested. -
session
protected final javax.jcr.Session sessionSession.
-
-
Constructor Details
-
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
-
PropFindResponseEntity
-
-
Method Details
-
write
- Specified by:
writein interfacejavax.ws.rs.core.StreamingOutput- Throws:
IOException
-