Package org.apache.sling.engine.impl

Examples of org.apache.sling.engine.impl.SlingMainServlet


    // SlingHttpServletRequest instance factory

    private static SlingHttpServletRequestFactory getSlingHttpServletRequestFactory() {
        SlingHttpServletRequestFactory factory = RequestData.REQUEST_FACTORY;
        if (factory == null) {
            SlingMainServlet servlet = RequestData.SLING_MAIN_SERVLET;
            if (servlet == null || servlet.getServletContext() == null
                || servlet.getServletContext().getMajorVersion() < 3) {

                factory = new SlingHttpServletRequestFactory() {
                    public SlingHttpServletRequest createRequest(RequestData requestData, HttpServletRequest request) {
                        return new SlingHttpServletRequestImpl(requestData, request);
                    }
View Full Code Here

TOP

Related Classes of org.apache.sling.engine.impl.SlingMainServlet

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.