Annotation Type JsonIgnoreBody
-
@Target(TYPE) @Retention(RUNTIME) public @interface JsonIgnoreBody
MarkerAnnotation
for denoting that the body of the Finagle HTTP Message should not be parsed as a JSON body. Finagle HTTP requests with a content-type of `application/json` sent to routes with a custom request case class callback input type will always trigger the parsing of the request body as well-formed JSON in attempt to convert the JSON into the request case class.This behavior can be disabled by annotating the case class with `@JsonIgnoreBody` leaving the raw request body accessible.