Uses of Interface
io.netty5.util.Resource
-
Packages that use Resource Package Description io.netty5.buffer.api IncubatingBufferAPI, 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 classBufferHolder<T extends Resource<T>>TheBufferHolderis an abstract class that simplifies the implementation of objects that themselves contain aBufferinstance.Subinterfaces of Resource in io.netty5.buffer.api Modifier and Type Interface Description interfaceBufferA life cycled buffer of memory, with separate reader and writer offsets.interfaceCompositeBufferTheCompositeBufferis a concreteBufferimplementation that make a number of other buffers appear as one.Classes in io.netty5.buffer.api that implement Resource Modifier and Type Class Description classBufferHolder<T extends Resource<T>>TheBufferHolderis an abstract class that simplifies the implementation of objects that themselves contain aBufferinstance.classBufferRefA mutable reference to a buffer.classBufferStubA stub of aBufferimplementation 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 classResourceSupport<I extends Resource<I>,T extends ResourceSupport<I,T>>Internal support class for resources.classSendFromOwned<I extends Resource<I>,T extends ResourceSupport<I,T>>Classes in io.netty5.buffer.api.internal that implement Resource Modifier and Type Class Description classAdaptableBuffer<T extends ResourceSupport<Buffer,T>>classResourceSupport<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 classBufferAddressedEnvelope<A extends SocketAddress,T extends BufferAddressedEnvelope<A,T>>Base class for addressed envelopes that haveBufferinstances as messages.classDefaultBufferAddressedEnvelope<A extends SocketAddress>The defaultAddressedEnvelopeimplementation forBuffermessages. -
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 BufferAbstractNioChannel. 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 classDatagramPacketThe message container that is used forDatagramChannelto 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 classSegmentedDatagramPacketAllows 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 interfaceDnsRawRecordA genericDnsRecordthat contains an undecodedRDATA.Classes in io.netty5.handler.codec.dns that implement Resource Modifier and Type Class Description classDefaultDnsRawRecordThe defaultDnsRawRecordimplementation. -
Uses of Resource in io.netty5.handler.codec.http
Subinterfaces of Resource in io.netty5.handler.codec.http Modifier and Type Interface Description interfaceFullHttpMessage<R extends FullHttpMessage<R>>CombinesHttpMessageandLastHttpContentinto one message.interfaceFullHttpRequestCombine theHttpRequestandFullHttpMessage, so the request is a complete HTTP request.interfaceFullHttpResponseCombination of aHttpResponseandFullHttpMessage.interfaceHttpContent<R extends HttpContent<R>>An HTTP chunk which is used for HTTP chunked transfer-encoding.interfaceLastHttpContent<R extends LastHttpContent<R>>The lastHttpContentwhich has trailing headers.Classes in io.netty5.handler.codec.http that implement Resource Modifier and Type Class Description classDefaultFullHttpRequestDefault implementation ofFullHttpRequest.classDefaultFullHttpResponseDefault implementation of aFullHttpResponse.classDefaultHttpContentThe defaultHttpContentimplementation.classDefaultLastHttpContentThe defaultLastHttpContentimplementation.classEmptyLastHttpContentstatic classHttpServerUpgradeHandler.UpgradeEventUser 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 classBinaryWebSocketFrameWeb Socket frame containing binary data.classCloseWebSocketFrameWeb Socket Frame for closing the connection.classContinuationWebSocketFrameWeb Socket continuation frame containing continuation text or binary data.classPingWebSocketFrameWeb Socket frame containing binary data.classPongWebSocketFrameWeb Socket frame containing binary data.classTextWebSocketFrameWeb Socket text frame.classWebSocketFrameBase 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 interfaceHttp2DataFrameHTTP/2 DATA frame.interfaceHttp2GoAwayFrameHTTP/2 GOAWAY frame.interfaceHttp2UnknownFrameClasses in io.netty5.handler.codec.http2 that implement Resource Modifier and Type Class Description classDefaultHttp2DataFrameThe defaultHttp2DataFrameimplementation.classDefaultHttp2GoAwayFrameThe defaultHttp2GoAwayFrameimplementation.classDefaultHttp2UnknownFrame -
Uses of Resource in io.netty5.handler.ssl
Classes in io.netty5.handler.ssl that implement Resource Modifier and Type Class Description classPemPrivateKeyThis is a special purpose implementation of aPrivateKeywhich allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land.classPemX509CertificateThis is a special purpose implementation of aX509Certificatewhich allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContextwithout 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 interfaceResource<T extends Resource<T>>A resource that has a life-time, and can be closed.interfaceSend<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 classSendFromSupplier<T extends Resource<T>>
-