| Package | Description | 
|---|---|
| org.apache.jackrabbit.server.io | 
 The jackrabbit webdav server uses the classes defined in this package in order
to perform import and export operations in order to respond to PUT, MKCOL, PROPPATCH
and PROPFIND, GET, HEAD requests, respectively. 
 | 
| org.apache.jackrabbit.webdav.simple | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
PropertyExportContext
PropertyExportContext represents a marker interface to distinguish
 the ExportContext (which is mainly used to export data and some fundamental
 properties) from a context that is used to export properties only. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractExportContext
AbstractExportContext covers methods common to most ExportContext
 implementations. | 
class  | 
ExportContextImpl
ExportContextImpl implements an ExportContext that
 wraps around the specified OutputContext as it was passed to
 DavResource.spool(OutputContext). | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
DefaultHandler.canExport(ExportContext context,
         boolean isCollection)
Returns true if the export root is a node and if it contains a child node
 with name  
jcr:content in case this
 export is not intended for a collection. | 
boolean | 
DirListingExportHandler.canExport(ExportContext context,
         boolean isCollection)  | 
boolean | 
IOHandler.canExport(ExportContext context,
         boolean isCollection)
Returns true, if this handler can run a successful export based on the
 specified context. 
 | 
boolean | 
VersionHandler.canExport(ExportContext context,
         boolean isCollection)  | 
boolean | 
VersionHistoryHandler.canExport(ExportContext context,
         boolean isCollection)  | 
boolean | 
XmlHandler.canExport(ExportContext context,
         boolean isCollection)  | 
boolean | 
ZipHandler.canExport(ExportContext context,
         boolean isCollection)  | 
boolean | 
DefaultHandler.canExport(ExportContext context,
         DavResource resource)  | 
boolean | 
DirListingExportHandler.canExport(ExportContext context,
         DavResource resource)  | 
boolean | 
IOHandler.canExport(ExportContext context,
         DavResource resource)
Returns true, if this handler can run a successful export based on
 the specified context and resource. 
 | 
boolean | 
VersionHandler.canExport(ExportContext context,
         DavResource resource)  | 
boolean | 
VersionHistoryHandler.canExport(ExportContext context,
         DavResource resource)  | 
boolean | 
DefaultHandler.exportContent(ExportContext context,
             boolean isCollection)
Retrieves the content node that will be used for exporting properties and
 data and calls the corresponding methods. 
 | 
boolean | 
DirListingExportHandler.exportContent(ExportContext context,
             boolean isCollection)  | 
boolean | 
IOHandler.exportContent(ExportContext context,
             boolean isCollection)
Runs the export for the given context. 
 | 
boolean | 
IOManager.exportContent(ExportContext context,
             boolean isCollection)
Passes the specified information to the IOHandlers present on this manager. 
 | 
boolean | 
IOManagerImpl.exportContent(ExportContext context,
             boolean isCollection)  | 
boolean | 
VersionHistoryHandler.exportContent(ExportContext context,
             boolean isCollection)  | 
boolean | 
DefaultHandler.exportContent(ExportContext context,
             DavResource resource)
Same as (@link IOHandler#exportContent(ExportContext, boolean)} where
 the boolean values is defined by  
DavResource.isCollection(). | 
boolean | 
DirListingExportHandler.exportContent(ExportContext context,
             DavResource resource)  | 
boolean | 
IOHandler.exportContent(ExportContext context,
             DavResource resource)
Runs the export for the given context and resource. 
 | 
boolean | 
IOManager.exportContent(ExportContext context,
             DavResource resource)
Passes the specified information to the IOHandlers present on this manager. 
 | 
boolean | 
IOManagerImpl.exportContent(ExportContext context,
             DavResource resource)  | 
boolean | 
VersionHistoryHandler.exportContent(ExportContext context,
             DavResource resource)  | 
protected void | 
DefaultHandler.exportData(ExportContext context,
          boolean isCollection,
          Node contentNode)
Checks if the given content node contains a jcr:data property
 and spools its value to the output stream of the export context. 
Please note, that subclasses that define a different structure of the content node should create their own exportData method. | 
protected void | 
XmlHandler.exportData(ExportContext context,
          boolean isCollection,
          Node contentNode)  | 
protected void | 
ZipHandler.exportData(ExportContext context,
          boolean isCollection,
          Node contentNode)  | 
protected void | 
DefaultHandler.exportProperties(ExportContext context,
                boolean isCollection,
                Node contentNode)
Retrieves mimetype, encoding and modification time from the content node. 
 | 
protected void | 
XmlHandler.exportProperties(ExportContext context,
                boolean isCollection,
                Node contentNode)  | 
protected Node | 
DefaultHandler.getContentNode(ExportContext context,
              boolean isCollection)
Retrieves the content node that contains the data to be exported. 
 | 
protected Node | 
VersionHandler.getContentNode(ExportContext context,
              boolean isCollection)
Retrieves the content node that contains the data to be exported. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected ExportContext | 
DavResourceImpl.getExportContext(OutputContext outputCtx)
Returns a new  
ExportContext | 
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.