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`

public static enum GhidraURLConnection.StatusCode extends Enum<GhidraURLConnection.StatusCode>
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 Constants
  Enum Constant
  Description
  `LOCKED`
  Ghidra Status-Code 423: Locked.
  `NOT_FOUND`
  Ghidra Status-Code 404: Not Found.
  `OK`
  `UNAUTHORIZED`
  Ghidra Status-Code 401: Unauthorized.
  `UNAVAILABLE`
  Ghidra Status-Code 503: Unavailable.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getCode()`
  `String`
  `getDescription()`
  `static GhidraURLConnection.StatusCode`
  `valueOf(String name)`
  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.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 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()