Uses of Interface
io.netty5.util.Resource
-
Packages that use Resource Package Description io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.internal Internal implementation details that can be shared among Buffer implementations.io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty5.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty5.channel.unix Unix specific transport.io.netty5.handler.codec.dns DNS codec.io.netty5.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty5.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty5.handler.ssl io.netty5.util Utility classes used across multiple packages.io.netty5.util.internal Internal-use-only utilities which is not allowed to be used outside Netty. -
-
Uses of Resource in io.netty5.buffer.api
Classes in io.netty5.buffer.api with type parameters of type Resource Modifier and Type Class Description class
BufferHolder<T extends Resource<T>>
TheBufferHolder
is an abstract class that simplifies the implementation of objects that themselves contain aBuffer
instance.Subinterfaces of Resource in io.netty5.buffer.api Modifier and Type Interface Description interface
Buffer
A life cycled buffer of memory, with separate reader and writer offsets.interface
CompositeBuffer
TheCompositeBuffer
is a concreteBuffer
implementation that make a number of other buffers appear as one.Classes in io.netty5.buffer.api that implement Resource Modifier and Type Class Description class
BufferHolder<T extends Resource<T>>
TheBufferHolder
is an abstract class that simplifies the implementation of objects that themselves contain aBuffer
instance.class
BufferRef
A mutable reference to a buffer.class
BufferStub
A stub of aBuffer
implementation that implements all buffer methods by delegating them to a wrapped buffer instance. -
Uses of Resource in io.netty5.buffer.api.internal
Classes in io.netty5.buffer.api.internal with type parameters of type Resource Modifier and Type Class Description class
ResourceSupport<I extends Resource<I>,T extends ResourceSupport<I,T>>
Internal support class for resources.class
SendFromOwned<I extends Resource<I>,T extends ResourceSupport<I,T>>
Classes in io.netty5.buffer.api.internal that implement Resource Modifier and Type Class Description class
AdaptableBuffer<T extends ResourceSupport<Buffer,T>>
class
ResourceSupport<I extends Resource<I>,T extends ResourceSupport<I,T>>
Internal support class for resources.Methods in io.netty5.buffer.api.internal with type parameters of type Resource Modifier and Type Method Description abstract <I extends Resource<I>,T extends ResourceSupport<I,T>>
Owned<T>LifecycleTracer. send(Owned<T> instance)
Add to the trace log that the object is being sent.Constructors in io.netty5.buffer.api.internal with parameters of type Resource Constructor Description SingleComponentIterator(Resource<?> lifecycle, Object singleComponent)
-
Uses of Resource in io.netty5.channel
Classes in io.netty5.channel that implement Resource Modifier and Type Class Description class
BufferAddressedEnvelope<A extends SocketAddress,T extends BufferAddressedEnvelope<A,T>>
Base class for addressed envelopes that haveBuffer
instances as messages.class
DefaultBufferAddressedEnvelope<A extends SocketAddress>
The defaultAddressedEnvelope
implementation forBuffer
messages. -
Uses of Resource in io.netty5.channel.nio
Methods in io.netty5.channel.nio with parameters of type Resource Modifier and Type Method Description protected Buffer
AbstractNioChannel. newDirectBuffer(Resource<?> holder, Buffer buf)
Allocates a new off-heap copy of the given buffer, unless the cost of doing so is too high. -
Uses of Resource in io.netty5.channel.socket
Classes in io.netty5.channel.socket that implement Resource Modifier and Type Class Description class
DatagramPacket
The message container that is used forDatagramChannel
to communicate with the remote peer. -
Uses of Resource in io.netty5.channel.unix
Classes in io.netty5.channel.unix that implement Resource Modifier and Type Class Description class
SegmentedDatagramPacket
Allows to use GSO if the underlying OS supports it. -
Uses of Resource in io.netty5.handler.codec.dns
Subinterfaces of Resource in io.netty5.handler.codec.dns Modifier and Type Interface Description interface
DnsRawRecord
A genericDnsRecord
that contains an undecodedRDATA
.Classes in io.netty5.handler.codec.dns that implement Resource Modifier and Type Class Description class
DefaultDnsRawRecord
The defaultDnsRawRecord
implementation. -
Uses of Resource in io.netty5.handler.codec.http
Subinterfaces of Resource in io.netty5.handler.codec.http Modifier and Type Interface Description interface
FullHttpMessage<R extends FullHttpMessage<R>>
CombinesHttpMessage
andLastHttpContent
into one message.interface
FullHttpRequest
Combine theHttpRequest
andFullHttpMessage
, so the request is a complete HTTP request.interface
FullHttpResponse
Combination of aHttpResponse
andFullHttpMessage
.interface
HttpContent<R extends HttpContent<R>>
An HTTP chunk which is used for HTTP chunked transfer-encoding.interface
LastHttpContent<R extends LastHttpContent<R>>
The lastHttpContent
which has trailing headers.Classes in io.netty5.handler.codec.http that implement Resource Modifier and Type Class Description class
DefaultFullHttpRequest
Default implementation ofFullHttpRequest
.class
DefaultFullHttpResponse
Default implementation of aFullHttpResponse
.class
DefaultHttpContent
The defaultHttpContent
implementation.class
DefaultLastHttpContent
The defaultLastHttpContent
implementation.class
EmptyLastHttpContent
static class
HttpServerUpgradeHandler.UpgradeEvent
User event that is fired to notify about the completion of an HTTP upgrade to another protocol. -
Uses of Resource in io.netty5.handler.codec.http.websocketx
Classes in io.netty5.handler.codec.http.websocketx that implement Resource Modifier and Type Class Description class
BinaryWebSocketFrame
Web Socket frame containing binary data.class
CloseWebSocketFrame
Web Socket Frame for closing the connection.class
ContinuationWebSocketFrame
Web Socket continuation frame containing continuation text or binary data.class
PingWebSocketFrame
Web Socket frame containing binary data.class
PongWebSocketFrame
Web Socket frame containing binary data.class
TextWebSocketFrame
Web Socket text frame.class
WebSocketFrame
Base class for web socket frames. -
Uses of Resource in io.netty5.handler.codec.http2
Subinterfaces of Resource in io.netty5.handler.codec.http2 Modifier and Type Interface Description interface
Http2DataFrame
HTTP/2 DATA frame.interface
Http2GoAwayFrame
HTTP/2 GOAWAY frame.interface
Http2UnknownFrame
Classes in io.netty5.handler.codec.http2 that implement Resource Modifier and Type Class Description class
DefaultHttp2DataFrame
The defaultHttp2DataFrame
implementation.class
DefaultHttp2GoAwayFrame
The defaultHttp2GoAwayFrame
implementation.class
DefaultHttp2UnknownFrame
-
Uses of Resource in io.netty5.handler.ssl
Classes in io.netty5.handler.ssl that implement Resource Modifier and Type Class Description class
PemPrivateKey
This is a special purpose implementation of aPrivateKey
which allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContext
without having to parse and re-encode bytes in Java land.class
PemX509Certificate
This is a special purpose implementation of aX509Certificate
which allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContext
without having to parse and re-encode bytes in Java land. -
Uses of Resource in io.netty5.util
Classes in io.netty5.util with type parameters of type Resource Modifier and Type Interface Description interface
Resource<T extends Resource<T>>
A resource that has a life-time, and can be closed.interface
Send<T extends Resource<T>>
A temporary holder of aResource
, used for transferring the ownership of the resource from one thread to another.Methods in io.netty5.util with type parameters of type Resource Modifier and Type Method Description default <R extends Resource<R>>
Send<R>Send. map(Class<R> type, Function<T,R> mapper)
Apply a mapping function to the object being sent.static <T extends Resource<T>>
Send<T>Send. sending(Class<T> concreteObjectType, Supplier<? extends T> supplier)
-
Uses of Resource in io.netty5.util.internal
Classes in io.netty5.util.internal with type parameters of type Resource Modifier and Type Class Description class
SendFromSupplier<T extends Resource<T>>
-