@ProviderType public interface SlingRequestProcessor
SlingRequestProcessorinterface defines the service which may be called to handle HTTP requests.
This interface is implemented by this bundle and is not intended to be implemented by bundles other than this.
|Modifier and Type||Field and Description|
The name of the
|Modifier and Type||Method and Description|
Process an HTTP request through the Sling request processing engine.
static final String NAME
void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ResourceResolver resourceResolver) throws javax.servlet.ServletException, IOException
This method does not close the provided resource resolver !
request- Usually a "synthetic" request, i.e. not supplied by servlet container
response- Usually a "synthetic" response, i.e. not supplied by servlet container
ResourceResolverused for the Sling request processing.
NullPointerException- if either of the parameters is
IOException- if an error occurrs reading from the request input or writing the response
javax.servlet.ServletException- if another servlet related problem occurrs
Copyright © 2015 The Apache Software Foundation. All rights reserved.