public class SlingRequestEvent
extends java.lang.Object
This class is not intended to be extended or instantiated by clients.
SlingRequestListener
Modifier and Type | Class and Description |
---|---|
static class |
SlingRequestEvent.EventType
type of the event
|
Constructor and Description |
---|
SlingRequestEvent(javax.servlet.ServletContext sc,
javax.servlet.ServletRequest request,
SlingRequestEvent.EventType type) |
Modifier and Type | Method and Description |
---|---|
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.
|
public SlingRequestEvent(javax.servlet.ServletContext sc, javax.servlet.ServletRequest request, SlingRequestEvent.EventType type)
public javax.servlet.ServletContext getServletContext()
ServletContext
public javax.servlet.ServletRequest getServletRequest()
ServletRequest
ServletRequest
public SlingRequestEvent.EventType getType()
EventType
,
eg. EVENT_INIT or EVENT_DESTROYCopyright © 2022 The Apache Software Foundation. All rights reserved.