Class JacksonRequestConverterFunction

java.lang.Object
com.linecorp.armeria.server.annotation.JacksonRequestConverterFunction
All Implemented Interfaces:
RequestConverterFunction

public final class JacksonRequestConverterFunction extends Object implements RequestConverterFunction
A RequestConverterFunction which converts a JSON body of the AggregatedHttpRequest to an object using the default ObjectMapper. The RequestConverterFunction is applied only when the content-type of the RequestHeaders is MediaType.JSON or ends with +json. Note that this RequestConverterFunction is applied to an annotated service by default, so you don't have to specify this converter explicitly unless you want to use your own ObjectMapper.