javax.servlet.Servlet whose service method may be used to handle the given request. The returned servlet must be assumed to be initialized and ready to run. That is, the init nor the destroy methods must NOT be called on the returned servlet.
This method must not return a Servlet instance implementing the {@link OptingServlet} interface and returningfalse when the {@link OptingServlet#accepts(SlingHttpServletRequest)} method is called.
@param request The {@link SlingHttpServletRequest} object used to driveselection of the servlet.
@return The servlet whose service method may be called tohandle the request.
@throws org.apache.sling.api.SlingException Is thrown if an error occurrswhile trying to find an appropriate servlet to handle the request or if no servlet could be resolved to handle the request.
| |
| |
| |
| |
| |
| |