Package org.apache.xindice.webadmin.webdav.components

Examples of org.apache.xindice.webadmin.webdav.components.DAVComponent


        // get viewer parameter (missing if DAV request)
        String viewer = request.getParameter("viewer");

        // WebDAV requests do not have viewer parameter, nor can not GET a collection
        if (viewer == null && !(path.endsWith("/") && method.equalsIgnoreCase("GET"))) {
            DAVComponent m = webAdmin.getMethod(method);
            if (m == null) {
                // method is not supported
                if (log.isInfoEnabled()) {
                    log.info("Method " + method + " is not supported.");
                }
                response.setStatus(WebdavStatus.SC_NOT_IMPLEMENTED);
                return;
            }

            m.execute(new DAVRequest(request), new DAVResponse(response), target);
            return;
        }

        // HTML requests are all the rest
        Collection col = target.getCollection();
View Full Code Here

TOP

Related Classes of org.apache.xindice.webadmin.webdav.components.DAVComponent

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.