@ProviderType
public interface SlingRequestProcessor
SlingRequestProcessor
interface 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 |
---|---|
static String |
NAME
The name of the
SlingRequestProcessor service. |
Modifier and Type | Method and Description |
---|---|
void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ResourceResolver resourceResolver)
Process an HTTP request through the Sling request processing engine.
|
static final String NAME
SlingRequestProcessor
service.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 containerresponse
- Usually a "synthetic" response, i.e. not supplied by
servlet containerresourceResolver
- The ResourceResolver
used for the
Sling request processing.NullPointerException
- if either of the parameters is
null
IOException
- if an error occurrs reading from the request input or
writing the responsejavax.servlet.ServletException
- if another servlet related problem occurrsCopyright © 2015 The Apache Software Foundation. All rights reserved.