Class ProxyServlet

    • Constructor Detail

      • ProxyServlet

        public ProxyServlet()
    • Method Detail

      • accepts

        public boolean accepts​(SlingHttpServletRequest request)
        Examines the request, and return true if this servlet is willing to handle the request. If false is returned, the request will be ignored by this servlet, and may be handled by other servlets.

        Does not proxy for request to a nt:file that have no sling:resource type set in the jcr:content node.

        Specified by:
        accepts in interface OptingServlet
        request - The request to examine
        true if this servlet will handle the request, false otherwise