public enum ProgressEventType extends Enum<ProgressEventType>
Enum Constant and Description |
---|
BYTE_TRANSFER_EVENT
Deprecated.
|
CLIENT_REQUEST_FAILED_EVENT
Event indicating that a client request has failed (after retries have
been conducted).
|
CLIENT_REQUEST_RETRY_EVENT
Event indicating that a failed request is detected as retryable and is
ready for the next retry.
|
CLIENT_REQUEST_STARTED_EVENT
Event indicating that the client has started sending the AWS API request.
|
CLIENT_REQUEST_SUCCESS_EVENT
Event indicating that the client has received a successful service
response and has finished parsing the response data.
|
HTTP_REQUEST_COMPLETED_EVENT
Event indicating that the client has finished sending the HTTP request.
|
HTTP_REQUEST_CONTENT_RESET_EVENT
Event indicating that the HTTP request content is reset, which may or may not
be caused by the retry of the request.
|
HTTP_REQUEST_STARTED_EVENT
Event indicating that the client has started sending the HTTP request.
|
HTTP_RESPONSE_COMPLETED_EVENT
Event indicating that the client has finished reading the HTTP response.
|
HTTP_RESPONSE_CONTENT_RESET_EVENT
Event indicating that the HTTP response content is reset.
|
HTTP_RESPONSE_STARTED_EVENT
Event indicating that the client has started reading the HTTP response.
|
REQUEST_BYTE_TRANSFER_EVENT
Used to indicate the number of bytes to be sent to AWS.
|
REQUEST_CONTENT_LENGTH_EVENT
Event of the content length to be sent in a request.
|
RESPONSE_BYTE_DISCARD_EVENT
Used to indicate the number of bytes discarded after being received from AWS.
|
RESPONSE_BYTE_TRANSFER_EVENT
Used to indicate the number of bytes received from AWS.
|
RESPONSE_CONTENT_LENGTH_EVENT
Event of the content length received in a response.
|
TRANSFER_CANCELED_EVENT |
TRANSFER_COMPLETED_EVENT |
TRANSFER_FAILED_EVENT |
TRANSFER_PART_COMPLETED_EVENT |
TRANSFER_PART_FAILED_EVENT |
TRANSFER_PART_STARTED_EVENT |
TRANSFER_PREPARING_EVENT |
TRANSFER_STARTED_EVENT |
Modifier and Type | Method and Description |
---|---|
boolean |
isByteCountEvent()
Returns true if this even type is associated with some number of bytes;
false otherwise.
|
boolean |
isRequestCycleEvent()
Returns true if this event type is related to the execution of a
single http request-response to AWS; false otherwise.
|
boolean |
isTransferEvent()
Returns true if this event type is a transfer event, which may involve
multiple request cycle events.
|
static ProgressEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgressEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ProgressEventType BYTE_TRANSFER_EVENT
public static final ProgressEventType REQUEST_CONTENT_LENGTH_EVENT
public static final ProgressEventType RESPONSE_CONTENT_LENGTH_EVENT
public static final ProgressEventType REQUEST_BYTE_TRANSFER_EVENT
public static final ProgressEventType RESPONSE_BYTE_TRANSFER_EVENT
public static final ProgressEventType RESPONSE_BYTE_DISCARD_EVENT
public static final ProgressEventType CLIENT_REQUEST_STARTED_EVENT
public static final ProgressEventType HTTP_REQUEST_STARTED_EVENT
public static final ProgressEventType HTTP_REQUEST_COMPLETED_EVENT
public static final ProgressEventType HTTP_REQUEST_CONTENT_RESET_EVENT
public static final ProgressEventType CLIENT_REQUEST_RETRY_EVENT
public static final ProgressEventType HTTP_RESPONSE_STARTED_EVENT
public static final ProgressEventType HTTP_RESPONSE_COMPLETED_EVENT
public static final ProgressEventType HTTP_RESPONSE_CONTENT_RESET_EVENT
public static final ProgressEventType CLIENT_REQUEST_SUCCESS_EVENT
public static final ProgressEventType CLIENT_REQUEST_FAILED_EVENT
public static final ProgressEventType TRANSFER_PREPARING_EVENT
public static final ProgressEventType TRANSFER_STARTED_EVENT
public static final ProgressEventType TRANSFER_COMPLETED_EVENT
public static final ProgressEventType TRANSFER_FAILED_EVENT
public static final ProgressEventType TRANSFER_CANCELED_EVENT
public static final ProgressEventType TRANSFER_PART_STARTED_EVENT
public static final ProgressEventType TRANSFER_PART_COMPLETED_EVENT
public static final ProgressEventType TRANSFER_PART_FAILED_EVENT
public static ProgressEventType[] values()
for (ProgressEventType c : ProgressEventType.values()) System.out.println(c);
public static ProgressEventType 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 nullpublic boolean isTransferEvent()
ProgressEventType.isRequestCycleEvent()
public boolean isRequestCycleEvent()
public boolean isByteCountEvent()
Copyright © 2024. All rights reserved.