Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
  * regarding copyright ownership.  The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
The 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.

public interface SlingRequestProcessor {

The name of the SlingRequestProcessor service.
    static final String NAME = SlingRequestProcessor.class.getName();

Process an HTTP request through the Sling request processing engine.

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
resourceResolver The ResourceResolver used for the Sling request processing.
java.lang.NullPointerException if either of the parameters is null if an error occurrs reading from the request input or writing the response
javax.servlet.ServletException if another servlet related problem occurrs
    void processRequest(HttpServletRequest request,
            HttpServletResponse responseResourceResolver resourceResolver)
            throws ServletExceptionIOException;
New to GrepCode? Check out our FAQ X