|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sling.api.request.SlingRequestEvent
public class SlingRequestEvent
represents an event published by the Sling engine while dispatching a request.
SlingRequestListener| Nested Class Summary | |
|---|---|
static class |
SlingRequestEvent.EventType
type of the event |
| Constructor Summary | |
|---|---|
SlingRequestEvent(javax.servlet.ServletContext sc,
javax.servlet.ServletRequest request,
SlingRequestEvent.EventType type)
|
|
| Method Summary | |
|---|---|
javax.servlet.ServletContext |
getServletContext()
Gets the actual servlet context object as ServletContext |
javax.servlet.ServletRequest |
getServletRequest()
Gets the actual request object as ServletRequest |
SlingRequestEvent.EventType |
getType()
get the type of the event, eg. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SlingRequestEvent(javax.servlet.ServletContext sc,
javax.servlet.ServletRequest request,
SlingRequestEvent.EventType type)
| Method Detail |
|---|
public javax.servlet.ServletContext getServletContext()
ServletContext
public javax.servlet.ServletRequest getServletRequest()
ServletRequest
ServletRequestpublic SlingRequestEvent.EventType getType()
EventType,
eg. EVENT_INIT or EVENT_DESTROY
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||