Modifier and Type | Method and Description |
---|---|
static boolean |
isNegativePermanent(int reply)
Determine if a reply code is a negative permanent response.
|
static boolean |
isNegativeTransient(int reply)
Determine if a reply code is a negative transient response.
|
static boolean |
isPositiveCompletion(int reply)
Determine if a reply code is a positive completion response.
|
static boolean |
isPositiveIntermediate(int reply)
Determine if a reply code is a positive intermediate response.
|
static boolean |
isPositivePreliminary(int reply)
Determine if a reply code is a positive preliminary response.
|
static boolean |
isProtectedReplyCode(int reply)
Determine if a reply code is a protected response.
|
public static final int RESTART_MARKER
public static final int SERVICE_NOT_READY
public static final int DATA_CONNECTION_ALREADY_OPEN
public static final int FILE_STATUS_OK
public static final int COMMAND_OK
public static final int COMMAND_IS_SUPERFLUOUS
public static final int SYSTEM_STATUS
public static final int DIRECTORY_STATUS
public static final int FILE_STATUS
public static final int HELP_MESSAGE
public static final int NAME_SYSTEM_TYPE
public static final int SERVICE_READY
public static final int SERVICE_CLOSING_CONTROL_CONNECTION
public static final int DATA_CONNECTION_OPEN
public static final int CLOSING_DATA_CONNECTION
public static final int ENTERING_PASSIVE_MODE
public static final int ENTERING_EPSV_MODE
public static final int USER_LOGGED_IN
public static final int FILE_ACTION_OK
public static final int PATHNAME_CREATED
public static final int NEED_PASSWORD
public static final int NEED_ACCOUNT
public static final int FILE_ACTION_PENDING
public static final int SERVICE_NOT_AVAILABLE
public static final int CANNOT_OPEN_DATA_CONNECTION
public static final int TRANSFER_ABORTED
public static final int FILE_ACTION_NOT_TAKEN
public static final int ACTION_ABORTED
public static final int INSUFFICIENT_STORAGE
public static final int UNRECOGNIZED_COMMAND
public static final int SYNTAX_ERROR_IN_ARGUMENTS
public static final int COMMAND_NOT_IMPLEMENTED
public static final int BAD_COMMAND_SEQUENCE
public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER
public static final int NOT_LOGGED_IN
public static final int NEED_ACCOUNT_FOR_STORING_FILES
public static final int FILE_UNAVAILABLE
public static final int PAGE_TYPE_UNKNOWN
public static final int STORAGE_ALLOCATION_EXCEEDED
public static final int FILE_NAME_NOT_ALLOWED
public static final int SECURITY_DATA_EXCHANGE_COMPLETE
public static final int SECURITY_DATA_EXCHANGE_SUCCESSFULLY
public static final int SECURITY_MECHANISM_IS_OK
public static final int SECURITY_DATA_IS_ACCEPTABLE
public static final int UNAVAILABLE_RESOURCE
public static final int BAD_TLS_NEGOTIATION_OR_DATA_ENCRYPTION_REQUIRED
public static final int DENIED_FOR_POLICY_REASONS
public static final int REQUEST_DENIED
public static final int FAILED_SECURITY_CHECK
public static final int REQUESTED_PROT_LEVEL_NOT_SUPPORTED
public static final int EXTENDED_PORT_FAILURE
public static boolean isPositivePreliminary(int reply)
reply
- The reply code to test.public static boolean isPositiveCompletion(int reply)
reply
- The reply code to test.public static boolean isPositiveIntermediate(int reply)
reply
- The reply code to test.public static boolean isNegativeTransient(int reply)
reply
- The reply code to test.public static boolean isNegativePermanent(int reply)
reply
- The reply code to test.public static boolean isProtectedReplyCode(int reply)
reply
- The reply code to test.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.