Annotation Type JsonIgnoreBody


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface JsonIgnoreBody
    Marker Annotation 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.
    See Also:
    Finatra User's Guide - HTTP Requests Custom Case Class