eXo JCR :: Component :: Webdav Service 1.15.10-GA

org.exoplatform.services.jcr.webdav.command.propfind
Class PropFindResponseEntity

java.lang.Object
  extended by 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
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 Summary
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.
 
Method Summary
 void write(OutputStream stream)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


propertyNames

protected Set<QName> propertyNames
The list of properties to get.


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 requested
propertyNamesOnly - if only property names a requested

PropFindResponseEntity

public PropFindResponseEntity(int depth,
                              Resource rootResource,
                              Set<QName> propertyNames,
                              boolean propertyNamesOnly)
Method Detail

write

public void write(OutputStream stream)
           throws IOException

Specified by:
write in interface javax.ws.rs.core.StreamingOutput
Throws:
IOException

eXo JCR :: Component :: Webdav Service 1.15.10-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.