org.apache.sling.engine.impl
Class SlingRequestProcessorImpl

java.lang.Object
  extended by org.apache.sling.engine.impl.SlingRequestProcessorImpl
All Implemented Interfaces:
SlingRequestProcessor

public class SlingRequestProcessorImpl
extends Object
implements SlingRequestProcessor


Field Summary
 
Fields inherited from interface org.apache.sling.engine.SlingRequestProcessor
NAME
 
Constructor Summary
SlingRequestProcessorImpl()
           
 
Method Summary
 void dispatchRequest(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, Resource resource, RequestPathInfo resolvedURL, boolean include)
          Dispatches the request on behalf of the SlingRequestDispatcher.
 ServletResolver getServletResolver()
           
 void processComponent(SlingHttpServletRequest request, SlingHttpServletResponse response, ServletFilterManager.FilterChainType filterChainType)
          Renders the component defined by the RequestData's current ComponentData instance after calling all filters of the given filterChainType.
 void processRequest(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, ResourceResolver resourceResolver)
          Process an HTTP request through the Sling request processing engine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlingRequestProcessorImpl

public SlingRequestProcessorImpl()
Method Detail

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest servletRequest,
                           javax.servlet.http.HttpServletResponse servletResponse,
                           ResourceResolver resourceResolver)
                    throws IOException
Description copied from interface: SlingRequestProcessor
Process an HTTP request through the Sling request processing engine.

This method does not close the provided resource resolver !

Specified by:
processRequest in interface SlingRequestProcessor
Parameters:
servletRequest - Usually a "synthetic" request, i.e. not supplied by servlet container
servletResponse - Usually a "synthetic" response, i.e. not supplied by servlet container
resourceResolver - The ResourceResolver used for the Sling request processing.
Throws:
IOException - if an error occurrs reading from the request input or writing the response

processComponent

public void processComponent(SlingHttpServletRequest request,
                             SlingHttpServletResponse response,
                             ServletFilterManager.FilterChainType filterChainType)
                      throws IOException,
                             javax.servlet.ServletException
Renders the component defined by the RequestData's current ComponentData instance after calling all filters of the given filterChainType.

Parameters:
request -
response -
filterChainType -
Throws:
IOException
javax.servlet.ServletException

dispatchRequest

public void dispatchRequest(javax.servlet.ServletRequest request,
                            javax.servlet.ServletResponse response,
                            Resource resource,
                            RequestPathInfo resolvedURL,
                            boolean include)
                     throws IOException,
                            javax.servlet.ServletException
Dispatches the request on behalf of the SlingRequestDispatcher.

Throws:
IOException
javax.servlet.ServletException

getServletResolver

public ServletResolver getServletResolver()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.