public class RequestEvent extends ApplicationEvent<RequestHandler>
ApplicationEvent that occurs when an application receives a request.| Constructor and Description |
|---|
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.
|
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 requestpublic 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>Copyright © 2014. All Rights Reserved.