|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ContainerEvent>
org.simpleframework.http.core.ContainerEvent
public enum ContainerEvent
The 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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||