Package ghidra.framework.protocol.ghidra
Enum Class GhidraURLConnection.StatusCode
java.lang.Object
java.lang.Enum<GhidraURLConnection.StatusCode>
ghidra.framework.protocol.ghidra.GhidraURLConnection.StatusCode
- All Implemented Interfaces:
Serializable
,Comparable<GhidraURLConnection.StatusCode>
,Constable
- Enclosing class:
GhidraURLConnection
Connection status codes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGhidra Status-Code 423: Locked.Ghidra Status-Code 404: Not Found.Ghidra Status-Code 401: Unauthorized.Ghidra Status-Code 503: Unavailable. -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Returns the enum constant of this class with the specified name.static GhidraURLConnection.StatusCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
-
UNAUTHORIZED
Ghidra Status-Code 401: Unauthorized. This status code occurs when repository access is denied. -
NOT_FOUND
Ghidra Status-Code 404: Not Found. This status code occurs when repository or project does not exist. -
LOCKED
Ghidra Status-Code 423: Locked. This status code occurs when project is locked (i.e., in use). -
UNAVAILABLE
Ghidra Status-Code 503: Unavailable. This status code includes a variety of connection errors which are reported/logged by the Ghidra Server support code.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode() -
getDescription
-