org.gcube.common.ghn.service.events
Class ResponseEvent
java.lang.Object
org.gcube.common.ghn.service.events.ApplicationEvent<RequestHandler>
org.gcube.common.ghn.service.events.RequestEvent
org.gcube.common.ghn.service.events.ResponseEvent
public class ResponseEvent
- extends RequestEvent
A ApplicationEvent that occurs when the application returns a response to a given request.
- Author:
- Fabio Simeoni
|
Constructor Summary |
ResponseEvent(String servlet,
ApplicationContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates an instance with the name of the target servlet, the context of the application, the client request, and the application response. |
ResponseEvent
public ResponseEvent(String servlet,
ApplicationContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Creates an instance with the name of the target servlet, the context of the application, the client request, and the application response.
- Parameters:
servlet - the name of the servletcontext - the context of the applicationrequest - the requestresponse - the response
response
public javax.servlet.http.HttpServletResponse response()
- Returns the response.
- Returns:
- the response
toString
public String toString()
- Overrides:
toString in class ApplicationEvent<RequestHandler>
Copyright © 2013. All Rights Reserved.