|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptingServlet
The OptingServlet interface may be implemented by
Servlets used by Sling which may choose to not handle all
requests for which they would be selected based on their registration
properties.
| Method Summary | |
|---|---|
boolean |
accepts(SlingHttpServletRequest request)
Examines the request, and return true if this servlet is
willing to handle the request. |
| Methods inherited from interface javax.servlet.Servlet |
|---|
destroy, getServletConfig, getServletInfo, init, service |
| Method Detail |
|---|
boolean accepts(SlingHttpServletRequest request)
true if this servlet is
willing to handle the request. If false is returned, the
request will be ignored by this servlet, and may be handled by other
servlets.
request - The request to examine
true if this servlet will handle the request,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||