use of io.micronaut.http.server.netty.multipart.MultipartBodyArgumentBinder in project micronaut-core by micronaut-projects.
the class NettyBinderRegistrar method onCreated.
@Override
public RequestBinderRegistry onCreated(BeanCreatedEvent<RequestBinderRegistry> event) {
RequestBinderRegistry registry = event.getBean();
registry.addRequestArgumentBinder(new CompletableFutureBodyBinder(httpContentProcessorResolver, conversionService));
registry.addRequestArgumentBinder(new MultipartBodyArgumentBinder(beanLocator, httpServerConfiguration));
registry.addRequestArgumentBinder(new InputStreamBodyBinder(httpContentProcessorResolver, executorService.get()));
return registry;
}
Aggregations