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

public static enum GhidraURLConnection.StatusCode extends Enum<GhidraURLConnection.StatusCode>
Connection status codes
  • Enum Constant Details

    • OK

      public static final GhidraURLConnection.StatusCode OK
    • UNAUTHORIZED

      public static final GhidraURLConnection.StatusCode UNAUTHORIZED
      Ghidra Status-Code 401: Unauthorized. This status code occurs when repository access is denied.
    • NOT_FOUND

      public static final GhidraURLConnection.StatusCode NOT_FOUND
      Ghidra Status-Code 404: Not Found. This status code occurs when repository or project does not exist.
    • LOCKED

      public static final GhidraURLConnection.StatusCode LOCKED
      Ghidra Status-Code 423: Locked. This status code occurs when project is locked (i.e., in use).
    • UNAVAILABLE

      public static final GhidraURLConnection.StatusCode 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

      public static GhidraURLConnection.StatusCode[] 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

      public static GhidraURLConnection.StatusCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getDescription

      public String getDescription()