|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.smartgears.handlers.Event<ApplicationContext>
org.gcube.smartgears.handlers.application.ApplicationEvent<RequestHandler>
org.gcube.smartgears.handlers.application.RequestEvent
public class RequestEvent
An ApplicationEvent that occurs when an application receives a request.
| Constructor Summary | |
|---|---|
RequestEvent(String servlet,
ApplicationContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates an instance with the application context, the client request, and the name of the target servlet. |
|
| Method Summary | |
|---|---|
javax.servlet.http.HttpServletRequest |
request()
Returns the client request. |
javax.servlet.http.HttpServletResponse |
response()
Returns the response. |
String |
servlet()
Returns the name of the target servlet. |
String |
toString()
|
String |
uri()
|
| Methods inherited from class org.gcube.smartgears.handlers.Event |
|---|
context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestEvent(String servlet,
ApplicationContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
context - the context of the applicationservlet - the name of the target servletrequest - the client request| Method Detail |
|---|
public String servlet()
public String uri()
public javax.servlet.http.HttpServletRequest request()
public javax.servlet.http.HttpServletResponse response()
public String toString()
toString in class Event<ApplicationContext>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||