public static enum InstanceEvent.EventType extends Enum<InstanceEvent.EventType>
| Enum Constant and Description |
|---|
AFTER_DESTROY_EVENT
The event indicating that the
destroy() method has
returned. |
AFTER_DISPATCH_EVENT
The event indicating that the
service() method of a
servlet accessed via a request dispatcher has returned. |
AFTER_FILTER_EVENT
The event indicating that the
doFilter() method of a
Filter has returned. |
AFTER_INIT_EVENT
The event indicating that the
init() method has returned. |
AFTER_SERVICE_EVENT
The event indicating that the
service() method has
returned. |
BEFORE_DESTROY_EVENT
The event indicating that the
destroy method is about
to be called for this instance. |
BEFORE_DISPATCH_EVENT
The event indicating that the
service() method of a
servlet accessed via a request dispatcher is about to be called. |
BEFORE_FILTER_EVENT
The event indicating that the
doFilter() method of a
Filter is about to be called. |
BEFORE_INIT_EVENT
The event indicating that the
init() method is about
to be called for this instance. |
BEFORE_SERVICE_EVENT
The event indicating that the
service() method is about
to be called on a servlet. |
| Modifier and Type | Method and Description |
|---|---|
static InstanceEvent.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceEvent.EventType BEFORE_INIT_EVENT
init() method is about
to be called for this instance.public static final InstanceEvent.EventType AFTER_INIT_EVENT
init() method has returned.public static final InstanceEvent.EventType 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 InstanceEvent.EventType 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 InstanceEvent.EventType BEFORE_DESTROY_EVENT
destroy method is about
to be called for this instance.public static final InstanceEvent.EventType AFTER_DESTROY_EVENT
destroy() method has
returned.public static final InstanceEvent.EventType 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 InstanceEvent.EventType 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 InstanceEvent.EventType 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 InstanceEvent.EventType 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 final String value
public final boolean isBefore
public static InstanceEvent.EventType[] values()
for (InstanceEvent.EventType c : InstanceEvent.EventType.values()) System.out.println(c);
public static InstanceEvent.EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.