use of io.micronaut.runtime.ApplicationConfiguration in project micronaut-core by micronaut-projects.
the class DefaultHttpClient method createDefaultMediaTypeRegistry.
private static MediaTypeCodecRegistry createDefaultMediaTypeRegistry() {
JsonMapper mapper = new JacksonDatabindMapper();
ApplicationConfiguration configuration = new ApplicationConfiguration();
return MediaTypeCodecRegistry.of(new JsonMediaTypeCodec(mapper, configuration, null), new JsonStreamMediaTypeCodec(mapper, configuration, null));
}
Aggregations