@Deprecated
public final class InstanceEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AFTER_DESTROY_EVENT
Deprecated.
The event indicating that the
destroy() method has
returned. |
static java.lang.String |
AFTER_DISPATCH_EVENT
Deprecated.
The event indicating that the
service() method of a
servlet accessed via a request dispatcher has returned. |
static java.lang.String |
AFTER_FILTER_EVENT
Deprecated.
The event indicating that the
doFilter() method of a
Filter has returned. |
static java.lang.String |
AFTER_INIT_EVENT
Deprecated.
The event indicating that the
init() method has returned. |
static java.lang.String |
AFTER_SERVICE_EVENT
Deprecated.
The event indicating that the
service() method has
returned. |
static java.lang.String |
BEFORE_DESTROY_EVENT
Deprecated.
The event indicating that the
destroy method is about
to be called for this instance. |
static java.lang.String |
BEFORE_DISPATCH_EVENT
Deprecated.
The event indicating that the
service() method of a
servlet accessed via a request dispatcher is about to be called. |
static java.lang.String |
BEFORE_FILTER_EVENT
Deprecated.
The event indicating that the
doFilter() method of a
Filter is about to be called. |
static java.lang.String |
BEFORE_INIT_EVENT
Deprecated.
The event indicating that the
init() method is about
to be called for this instance. |
static java.lang.String |
BEFORE_SERVICE_EVENT
Deprecated.
The event indicating that the
service() method is about
to be called on a servlet. |
Constructor and Description |
---|
InstanceEvent(Wrapper wrapper,
Filter filter,
java.lang.String type)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Filter filter,
java.lang.String type,
ServletRequest request,
ServletResponse response)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Filter filter,
java.lang.String type,
ServletRequest request,
ServletResponse response,
java.lang.Throwable exception)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Filter filter,
java.lang.String type,
java.lang.Throwable exception)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Servlet servlet,
java.lang.String type)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Servlet servlet,
java.lang.String type,
ServletRequest request,
ServletResponse response)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Servlet servlet,
java.lang.String type,
ServletRequest request,
ServletResponse response,
java.lang.Throwable exception)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
InstanceEvent(Wrapper wrapper,
Servlet servlet,
java.lang.String type,
java.lang.Throwable exception)
Deprecated.
Construct a new InstanceEvent with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException()
Deprecated.
Return the exception that occurred during the processing
that was reported by this event.
|
Filter |
getFilter()
Deprecated.
Return the filter instance for which this event occurred.
|
ServletRequest |
getRequest()
Deprecated.
Return the servlet request for which this event occurred.
|
ServletResponse |
getResponse()
Deprecated.
Return the servlet response for which this event occurred.
|
Servlet |
getServlet()
Deprecated.
Return the servlet instance for which this event occurred.
|
java.lang.String |
getType()
Deprecated.
Return the event type of this event.
|
Wrapper |
getWrapper()
Deprecated.
Return the Wrapper managing the servlet instance for which this
event occurred.
|
public static final java.lang.String BEFORE_INIT_EVENT
init()
method is about
to be called for this instance.public static final java.lang.String AFTER_INIT_EVENT
init()
method has returned.public static final java.lang.String BEFORE_SERVICE_EVENT
service()
method is about
to be called on a servlet. The servlet
property contains
the servlet being called, and the request
and
response
properties contain the current request and
response being processed.public static final java.lang.String AFTER_SERVICE_EVENT
service()
method has
returned. The servlet
property contains the servlet
that was called, and the request
and
response
properties contain the current request and
response being processed.public static final java.lang.String BEFORE_DESTROY_EVENT
destroy
method is about
to be called for this instance.public static final java.lang.String AFTER_DESTROY_EVENT
destroy()
method has
returned.public static final java.lang.String BEFORE_DISPATCH_EVENT
service()
method of a
servlet accessed via a request dispatcher is about to be called.
The servlet
property contains a reference to the
dispatched-to servlet instance, and the request
and
response
properties contain the current request and
response being processed. The wrapper
property will
contain a reference to the dispatched-to Wrapper.public static final java.lang.String AFTER_DISPATCH_EVENT
service()
method of a
servlet accessed via a request dispatcher has returned. The
servlet
property contains a reference to the
dispatched-to servlet instance, and the request
and
response
properties contain the current request and
response being processed. The wrapper
property will
contain a reference to the dispatched-to Wrapper.public static final java.lang.String BEFORE_FILTER_EVENT
doFilter()
method of a
Filter is about to be called. The filter
property
contains a reference to the relevant filter instance, and the
request
and response
properties contain
the current request and response being processed.public static final java.lang.String AFTER_FILTER_EVENT
doFilter()
method of a
Filter has returned. The filter
property contains
a reference to the relevant filter instance, and the
request
and response
properties contain
the current request and response being processed.public InstanceEvent(Wrapper wrapper, Filter filter, java.lang.String type)
wrapper
- Wrapper managing this servlet instancefilter
- Filter instance for which this event occurredtype
- Event type (required)public InstanceEvent(Wrapper wrapper, Filter filter, java.lang.String type, java.lang.Throwable exception)
wrapper
- Wrapper managing this servlet instancefilter
- Filter instance for which this event occurredtype
- Event type (required)exception
- Exception that occurredpublic InstanceEvent(Wrapper wrapper, Filter filter, java.lang.String type, ServletRequest request, ServletResponse response)
wrapper
- Wrapper managing this servlet instancefilter
- Filter instance for which this event occurredtype
- Event type (required)request
- Servlet request we are processingresponse
- Servlet response we are processingpublic InstanceEvent(Wrapper wrapper, Filter filter, java.lang.String type, ServletRequest request, ServletResponse response, java.lang.Throwable exception)
wrapper
- Wrapper managing this servlet instancefilter
- Filter instance for which this event occurredtype
- Event type (required)request
- Servlet request we are processingresponse
- Servlet response we are processingexception
- Exception that occurredpublic InstanceEvent(Wrapper wrapper, Servlet servlet, java.lang.String type)
wrapper
- Wrapper managing this servlet instanceservlet
- Servlet instance for which this event occurredtype
- Event type (required)public InstanceEvent(Wrapper wrapper, Servlet servlet, java.lang.String type, java.lang.Throwable exception)
wrapper
- Wrapper managing this servlet instanceservlet
- Servlet instance for which this event occurredtype
- Event type (required)exception
- Exception that occurredpublic InstanceEvent(Wrapper wrapper, Servlet servlet, java.lang.String type, ServletRequest request, ServletResponse response)
wrapper
- Wrapper managing this servlet instanceservlet
- Servlet instance for which this event occurredtype
- Event type (required)request
- Servlet request we are processingresponse
- Servlet response we are processingpublic InstanceEvent(Wrapper wrapper, Servlet servlet, java.lang.String type, ServletRequest request, ServletResponse response, java.lang.Throwable exception)
wrapper
- Wrapper managing this servlet instanceservlet
- Servlet instance for which this event occurredtype
- Event type (required)request
- Servlet request we are processingresponse
- Servlet response we are processingexception
- Exception that occurredpublic java.lang.Throwable getException()
public Filter getFilter()
public ServletRequest getRequest()
public ServletResponse getResponse()
public Servlet getServlet()
public java.lang.String getType()
public Wrapper getWrapper()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.