Annotation Interface Request.Body

Enclosing class:
Request

@Retention(SOURCE) @Target(PARAMETER) public static @interface Request.Body
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Custom body Serializer.
  • Element Details

    • value

      Class<? extends SerializerFactory> value
      Custom body Serializer.
      Returns:
      class that implements a zero-arg constructor to be used to serialize the body. Defaults to Json
      Default:
      com.palantir.dialogue.annotations.Json.class