public enum ProgressEventType extends Enum<ProgressEventType>
Enum Constant and Description |
---|
REQUEST_BYTE_TRANSFER_EVENT
Used to indicate the number of bytes to be sent to OSS.
|
REQUEST_CONTENT_LENGTH_EVENT
Event of the content length to be sent in a request.
|
RESPONSE_BYTE_TRANSFER_EVENT
Used to indicate the number of bytes received from OSS.
|
RESPONSE_CONTENT_LENGTH_EVENT
Event of the content length received in a response.
|
SELECT_COMPLETED_EVENT |
SELECT_FAILED_EVENT |
SELECT_SCAN_EVENT |
SELECT_STARTED_EVENT
Select object events.
|
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 events.
|
TRANSFER_STARTED_EVENT |
Modifier and Type | Method and Description |
---|---|
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.
|
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 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 final ProgressEventType SELECT_STARTED_EVENT
public static final ProgressEventType SELECT_SCAN_EVENT
public static final ProgressEventType SELECT_COMPLETED_EVENT
public static final ProgressEventType SELECT_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 nullCopyright © 2021. All Rights Reserved.