public enum ContainerEvent extends Enum<ContainerEvent>
ContainerEvent
enum represents events that occur when
processing a HTTP transaction. Here each phase of processing has a
single event to represent it. If a Trace
object has been
associated with the connection then the server will notify the trace
when the connection enters a specific phase of processing.Trace
Enum Constant and Description |
---|
BODY_FINISHED
This indicates that the server has fully read the request body.
|
DISPATCH_CONTINUE
This event indicates that the server sent a HTTP continue reply.
|
DISPATCH_FINISHED
This indicates that the dispatch thread has completed the dispatch.
|
DISPATCH_REQUEST
This indicates that the request has been dispatched for processing.
|
ERROR
This indicates that there was some error event with the request.
|
HEADER_FINISHED
This indicates that the server has fully read the request header.
|
READ_BODY
This event indicates that the server is reading the request body.
|
READ_HEADER
This event indicates that the server is reading the request header.
|
REQUEST_READY
This event indicates that the request is ready for processing.
|
RESPONSE_FINISHED
This indicates that all the bytes within the response are sent.
|
WRITE_BODY
This event indicates that the server is writing the response body.
|
WRITE_HEADER
This event indicates that the server is writing the response header.
|
Modifier and Type | Method and Description |
---|---|
static ContainerEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerEvent READ_HEADER
public static final ContainerEvent READ_BODY
public static final ContainerEvent WRITE_HEADER
public static final ContainerEvent WRITE_BODY
public static final ContainerEvent HEADER_FINISHED
public static final ContainerEvent BODY_FINISHED
public static final ContainerEvent DISPATCH_CONTINUE
public static final ContainerEvent REQUEST_READY
public static final ContainerEvent DISPATCH_REQUEST
public static final ContainerEvent DISPATCH_FINISHED
public static final ContainerEvent RESPONSE_FINISHED
public static final ContainerEvent ERROR
public static ContainerEvent[] values()
for (ContainerEvent c : ContainerEvent.values()) System.out.println(c);
public static ContainerEvent 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 © 2022. All rights reserved.