Package io.micronaut.http.server.netty
package io.micronaut.http.server.netty
Netty server classes for Micronaut.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionDelegates all functionality to the provided buffer.Default implementation of
HttpCompressionStrategy
.This class will handle subscribing to a stream ofHttpContent
.Default implementation ofNettyEmbeddedServerFactory
.Delegate for Streamed HTTP Response.DecodesMediaType.MULTIPART_FORM_DATA
in a non-blocking manner.This class receives a stream ofMicronautHttpData
and splits it into individual streams for each form field, and they can all be subscribed to and bound independently.Determines if a given http message should be compressed.Deprecated.Utility class for transforming aNettyHttpRequest
using aHttpContentProcessor
to aPublisher
.
Note: A more complicated, but possibly faster, implementation of this class is archived in the original PR.Deprecated, for removal: This API element is subject to removal in a future version.Unused nowMicronautHttpData<D extends io.netty.handler.codec.http.multipart.HttpData>AlternateHttpData
implementation with some limited concurrency support.Factory forMicronautHttpData
instances.ExtendedEmbeddedServer
interface 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 NettyHttpRequest
instance.Implementation ofHttpResponseFactory
for 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 theChannelInboundHandler
for Micronaut.
MessageBodyReader
API instead