org.gcube.smartgears.handlers.application
Class ResponseEvent

java.lang.Object
  extended by org.gcube.smartgears.handlers.Event<ApplicationContext>
      extended by org.gcube.smartgears.handlers.application.ApplicationEvent<RequestHandler>
          extended by org.gcube.smartgears.handlers.application.RequestEvent
              extended by org.gcube.smartgears.handlers.application.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.
 
Method Summary
 
Methods inherited from class org.gcube.smartgears.handlers.application.RequestEvent
request, response, servlet, toString, 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

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 servlet
context - the context of the application
request - the request
response - the response


Copyright © 2013. All Rights Reserved.