Package io.micronaut.http.server.netty
package io.micronaut.http.server.netty
Netty server classes for Micronaut.
- Since:
- 1.0
-
ClassDescriptionAbstract implementation of the
HttpContentProcessorinterface that deals with limiting file upload sizes.Delegates all functionality to the provided buffer.This class will handle subscribing to a stream ofHttpContent.Default implementation that determines if the body argument (if present) does not expect decoding of the request body, that theDefaultHttpContentProcessorshould be used, regardless of the content type of the request.Default implementation ofNettyEmbeddedServerFactory.Delegate for Streamed HTTP Response.DecodesMediaType.MULTIPART_FORM_DATAin a non-blocking manner.SpecialHttpBodythat "demultiplexes" form data.Determines if a given http message should be compressed.Deprecated.Utility class for transforming aNettyHttpRequestusing aHttpContentProcessorto aPublisher.
Note: A more complicated, but possibly faster, implementation of this class is archived in the original PR.Responsible for determining whichHttpContentProcessorto use to process the body of the request.Interface that allows plugging into the constructor of theHttpContentsubscriber.MicronautHttpData<D extends io.netty.handler.codec.http.multipart.HttpData>AlternateHttpDataimplementation with some limited concurrency support.Factory forMicronautHttpDatainstances.ExtendedEmbeddedServerinterface that represents a Netty-based HTTP server.A factory / strategy interface for creating instances ofNettyEmbeddedServer.Internal interface with services required by theNettyHttpServer.Delegates to the NettyHttpRequestinstance.Implementation ofHttpResponseFactoryfor Netty.Implements the bootstrap and configuration logic for the Netty implementation ofEmbeddedServer.Interface implemented by users to hook into the pipeline setup of the netty HTTP server.Enum to describe the role of the channel passed toNettyServerCustomizer.specializeForChannel(Channel, ChannelRole).Interface implemented by the HTTP server to register customizers.Internal implementation of theChannelInboundHandlerfor Micronaut.
MessageBodyReaderAPI instead