org.apache.sling.engine.impl
Class SlingRequestProcessorImpl
java.lang.Object
org.apache.sling.engine.impl.SlingRequestProcessorImpl
- All Implemented Interfaces:
- SlingRequestProcessor
public class SlingRequestProcessorImpl
- extends Object
- implements SlingRequestProcessor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlingRequestProcessorImpl
public SlingRequestProcessorImpl()
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 containerservletResponse
- Usually a "synthetic" response, i.e. not supplied by
servlet containerresourceResolver
- 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.