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 |
ZipHandler.canExport(ExportContext context,
boolean isCollection) |
boolean |
XmlHandler.canExport(ExportContext context,
boolean isCollection) |
boolean |
VersionHistoryHandler.canExport(ExportContext context,
boolean isCollection) |
boolean |
VersionHandler.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 |
DirListingExportHandler.canExport(ExportContext context,
boolean isCollection) |
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 |
VersionHistoryHandler.canExport(ExportContext context,
DavResource resource) |
boolean |
VersionHandler.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 |
DirListingExportHandler.canExport(ExportContext context,
DavResource resource) |
boolean |
DefaultHandler.canExport(ExportContext context,
DavResource resource) |
boolean |
VersionHistoryHandler.exportContent(ExportContext context,
boolean isCollection) |
boolean |
IOManagerImpl.exportContent(ExportContext context,
boolean isCollection) |
boolean |
IOManager.exportContent(ExportContext context,
boolean isCollection)
Passes the specified information to the IOHandlers present on this manager.
|
boolean |
IOHandler.exportContent(ExportContext context,
boolean isCollection)
Runs the export for the given context.
|
boolean |
DirListingExportHandler.exportContent(ExportContext context,
boolean isCollection) |
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 |
VersionHistoryHandler.exportContent(ExportContext context,
DavResource resource) |
boolean |
IOManagerImpl.exportContent(ExportContext context,
DavResource resource) |
boolean |
IOManager.exportContent(ExportContext context,
DavResource resource)
Passes the specified information to the IOHandlers present on this manager.
|
boolean |
IOHandler.exportContent(ExportContext context,
DavResource resource)
Runs the export for the given context and resource.
|
boolean |
DirListingExportHandler.exportContent(ExportContext context,
DavResource resource) |
boolean |
DefaultHandler.exportContent(ExportContext context,
DavResource resource)
Same as (@link IOHandler#exportContent(ExportContext, boolean)} where
the boolean values is defined by
DavResource.isCollection() . |
protected void |
ZipHandler.exportData(ExportContext context,
boolean isCollection,
Node contentNode) |
protected void |
XmlHandler.exportData(ExportContext context,
boolean isCollection,
Node contentNode) |
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.exportProperties(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 Node |
VersionHandler.getContentNode(ExportContext context,
boolean isCollection)
Retrieves the content node that contains the data to be exported.
|
protected Node |
DefaultHandler.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–2024 The Apache Software Foundation. All rights reserved.