Enum Class Tm1Request.Response

java.lang.Object
java.lang.Enum<Tm1Request.Response>
io.skipcheck.tm1.client.Tm1Request.Response
All Implemented Interfaces:
Serializable, Comparable<Tm1Request.Response>, Constable
Enclosing class:
Tm1Request<T>

public static enum Tm1Request.Response extends Enum<Tm1Request.Response>
How the response body is read.
  • Enum Constant Details

    • SINGLE

      public static final Tm1Request.Response SINGLE
      One JSON value, read as T.
    • COLLECTION

      public static final Tm1Request.Response COLLECTION
      A collection, {"value":[...]}, streamed item by item as T.
    • TEXT

      public static final Tm1Request.Response TEXT
      Plain text, such as $value or $count.
    • BYTES

      public static final Tm1Request.Response BYTES
      Raw bytes, such as a document's content, streamed as DataBuffers as they arrive.
    • NONE

      public static final Tm1Request.Response NONE
      No content (or content that's ignored).
  • Method Details

    • values

      public static Tm1Request.Response[] 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 Tm1Request.Response 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