org.gcube.common.ghn.service.events
Class ResponseEvent
java.lang.Object
org.gcube.common.ghn.service.events.RequestEvent
org.gcube.common.ghn.service.events.ResponseEvent
- All Implemented Interfaces:
- ServiceEvent<RequestHandler>
public class ResponseEvent
- extends RequestEvent
A ServiceEvent that occurs when the a servlet returns a response to a given request.
The event is passed to RequestHandler registered in the Pipeline's of RequestFilter.
- Author:
- Fabio Simeoni
- See Also:
RequestHandler,
Pipeline,
RequestFilter
|
Constructor Summary |
ResponseEvent(String servletName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext ctx)
Creates an instance with the response, the corresponding request, and the name of the target servlet |
ResponseEvent
public ResponseEvent(String servletName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext ctx)
- Creates an instance with the response, the corresponding request, and the name of the target servlet
- Parameters:
servletName - the name of the servletrequest - 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 RequestEvent
Copyright © 2013. All Rights Reserved.