Class Body<T>

Direct Known Subclasses:
BodyWithContentType, GraphQLBody, JsonPathBody, JsonRpcBody, JsonSchemaBody, ParameterBody, RegexBody, WasmBody, XmlSchemaBody, XPathBody

public abstract class Body<T> extends Not
Author:
jamesdbloom
  • Constructor Details

  • Method Details

    • getType

      public Body.Type getType()
    • getOptional

      public Boolean getOptional()
    • withOptional

      public Body<T> withOptional(Boolean optional)
    • getValue

      public abstract T getValue()
    • getRawBytes

      public byte[] getRawBytes()
    • getCharset

      public Charset getCharset(Charset defaultIfNotSet)
    • getContentType

      public String getContentType()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Not
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Not