public class PropFindResponseEntity extends Object implements javax.ws.rs.core.StreamingOutput
| Modifier and Type | Field and Description |
|---|---|
protected int |
depth
Request depth.
|
protected WebDavNamespaceContext |
namespaceContext
Namespace context.
|
protected OutputStream |
outputStream
Output stream.
|
protected Set<QName> |
propertyNames
The list of properties to get.
|
protected boolean |
propertyNamesOnly
Boolean flag, shows if only property names a requested.
|
protected Resource |
rootResource
Root resource.
|
protected javax.jcr.Session |
session
Session.
|
protected XMLStreamWriter |
xmlStreamWriter
XML writer.
|
| Constructor and 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.
|
protected XMLStreamWriter xmlStreamWriter
protected OutputStream outputStream
protected final WebDavNamespaceContext namespaceContext
protected final Resource rootResource
protected final int depth
protected final boolean propertyNamesOnly
protected final javax.jcr.Session session
public PropFindResponseEntity(int depth,
Resource rootResource,
Set<QName> propertyNames,
boolean propertyNamesOnly,
javax.jcr.Session session)
depth - reqest depth.rootResource - root resource.propertyNames - the list of properties requestedpropertyNamesOnly - if only property names a requestedpublic void write(OutputStream stream) throws IOException
write in interface javax.ws.rs.core.StreamingOutputIOExceptionCopyright © 2016 eXo Platform SAS. All Rights Reserved.