Package com.adito.vfs.webdav

Examples of com.adito.vfs.webdav.DAVRedirection


     * Process the <code>PROPFIND</code> method.
     * </p>
     */
    public void process(DAVTransaction transaction, VFSResource resource) throws LockedException, IOException {
        if (transaction.isRequiredRootRedirect() || !transaction.isResourcePath(resource.getFullPath())) {
            throw new DAVRedirection(false, resource);
        }

        String handle = VFSLockManager.getNewHandle();
        VFSLockManager.getInstance().lock(resource, transaction.getSessionInfo(), false, false, handle);
        try {
View Full Code Here


            transaction.setStatus(404);
           
            return;
        }
        if (transaction.isRequiredRootRedirect() || !transaction.isResourcePath(resource.getFullPath())) {
           throw new DAVRedirection(false, resource);
        }

        /* Check if this is a conditional (processable only for resources) */
        Date ifmod = transaction.getIfModifiedSince();
        Date lsmod = resource.getLastModified();
View Full Code Here

TOP

Related Classes of com.adito.vfs.webdav.DAVRedirection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.