Enum ResponseWriter.Status

java.lang.Object
java.lang.Enum<ResponseWriter.Status>
com.mastfrog.acteur.ResponseWriter.Status
All Implemented Interfaces:
Serializable, Comparable<ResponseWriter.Status>, java.lang.constant.Constable
Enclosing class:
ResponseWriter

public static enum ResponseWriter.Status extends Enum<ResponseWriter.Status>
  • Enum Constant Details

    • NOT_DONE

      public static final ResponseWriter.Status NOT_DONE
      Call the object returning this value again in the future so it can write more output
    • DEFERRED

      public static final ResponseWriter.Status DEFERRED
      Don't call the object returing this value back - it will take care of writing more output and closing the channel when done.
    • DONE

      public static final ResponseWriter.Status DONE
  • Method Details

    • values

      public static ResponseWriter.Status[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ResponseWriter.Status valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null