AbstractByteBufBackedChannelOutboundInvokingOutputStream.AbstractByteBufBackedChannelOutboundInvokingOutputStream.AbstractByteBufBackedChannelOutboundInvokingOutputStream.OutputStream that delegates writing and flushing
operations to a ChannelOutboundInvoker.AbstractChannelOutboundInvokingOutputStream
that does not automatically flush and that does not ever
close the supplied
ChannelOutboundInvoker.AbstractChannelOutboundInvokingOutputStream
that does not automatically flush.AbstractChannelOutboundInvokingOutputStream.MessageToMessageDecoder that decodes messages of a
specific type into ContainerRequests.AbstractContainerRequestDecoder.AbstractContainerRequestDecoder(URI, Configuration, Class,
Class) constructor instead.AbstractContainerRequestDecoder implementation.AbstractContainerRequestDecoder implementation.ChannelInboundHandlerAdapter that is also a
ContainerResponseWriter that processes incoming ContainerRequest events, such as those dispatched by an AbstractContainerRequestDecoder, by supplying them to the ApplicationHandler.handle(ContainerRequest) method.AbstractContainerRequestHandlingResponseWriter.AbstractContainerRequestHandlingResponseWriter.AbstractContainerRequestHandlingResponseWriter.AbstractContainerRequestHandlingResponseWriter.true if the supplied message is an
instance of either the headers type
or data type supplied at construction time, and false in
all other cases.TerminableByteBufInputStream to
read.AbstractByteBufBackedChannelOutboundInvokingOutputStream
that writes Http2DataFrame messages.AbstractByteBufBackedChannelOutboundInvokingOutputStream
that writes HttpContent messages.ByteBufBackedChannelOutboundInvokingHttpContentOutputStream.ByteBufBackedChannelOutboundInvokingHttpContentOutputStream.ChannelInboundHandlerAdapter.channelActive(ChannelHandlerContext)
to ensure that a channel read is performed one way or another.ChannelOutboundInvoker underlying this AbstractChannelOutboundInvokingOutputStream implementation to
which most operations are adapted.message is a ContainerRequest
then this method will install
itself as that request's ContainerResponseWriter
and will invoke ApplicationHandler.handle(ContainerRequest).ChannelInboundHandlerAdapter.channelReadComplete(ChannelHandlerContext)
method to request a
read when necessary, taking the auto-read status of the associated
Channel into account.ChannelInboundHandlerAdapter.channelReadComplete(ChannelHandlerContext)
method to call channelHandlerContext.flush() before calling the superclass
implementation.AbstractChannelOutboundInvokingOutputStream, optionally
writing and flushing a final message, or simply just flushing first, before possibly closing the
underlying ChannelOutboundInvoker.TerminableByteBufInputStream and releases its underlying
CompositeByteBuf.ContainerRequest has been fully
handled
successfully.AbstractContainerRequestHandlingResponseWriter.commit() to still
effectively do nothing, but clean up some internal state.Map
by passing each entry to the supplied BiConsumer,
transforming the keys beforehand using the supplied UnaryOperator and that is intended in this framework to be used
to copy HTTP or HTTP/2 headers to and from the proper places.null, message that should be
written when AbstractChannelOutboundInvokingOutputStream.close() is invoked.DefaultHttp2DataFrame when
invoked.DefaultLastHttpContent when invoked.AbstractByteBufBackedChannelOutboundInvokingOutputStream.createMessage(ByteBuf) method with a ByteBuf returned
by the AbstractByteBufBackedChannelOutboundInvokingOutputStream.ByteBufCreator supplied at construction time.byte to be written by this AbstractChannelOutboundInvokingOutputStream's various write methods.byte array that will be written by
this AbstractChannelOutboundInvokingOutputStream's
various write methods.AbstractChannelOutboundInvokingOutputStream, or returns null if it is determined that no AbstractChannelOutboundInvokingOutputStream is required given
the supplied contentLength parameter value.ByteBufBackedChannelOutboundInvokingHttp2DataFrameOutputStream.ByteBufBackedChannelOutboundInvokingHttpContentOutputStream.PropertiesDelegate appropriate for the
supplied message, which is guaranteed to be a "headers" message.SecurityContext appropriate for the
supplied message, which is guaranteed to be a "headers" message.SslHandler when invoked.TerminableByteBufInputStream.true when invoked to indicate that buffering of
entity content is supported and can be configured to be on or
off.ApplicationHandler.handle(ContainerRequest) method.ChannelOutboundInvoker.flush() method on the
ChannelOutboundInvoker supplied at construction time.ApplicationHandler this SimpleContainer uses.null when invoked.URI that was supplied at construction time.AbstractByteBufBackedChannelOutboundInvokingOutputStream.ByteBufCreator that may be used to create the
AbstractChannelOutboundInvokingOutputStream
implementation that must be returned by an implementation of the
AbstractContainerRequestHandlingResponseWriter.createOutputStream(long, ContainerResponse) method.ResourceConfig representing the configuration
of the application hosted by this SimpleContainer.ByteBuf, or returns
null if there is no such content.AbstractChannelOutboundInvokingOutputStream implementation has
to write before an
automatic flush will take place.AbstractChannelOutboundInvokingOutputStream returned by the
AbstractContainerRequestHandlingResponseWriter.createOutputStream(long, ContainerResponse) method must
write before an automatic flush may
take place.EventExecutorGroup that this JerseyChannelInitializer will use to offload blocking work from
the Netty event loop.String representing a request
method from the supplied message, which is guaranteed to be a
"headers" message.name, or null if the property value is itself null or if no such property exists.Collection of the names of properties that this
MapBackedPropertiesDelegate stores.String representing a request URI
from the supplied message, which is guaranteed to be a
"headers" message.String representing a request URI
from the supplied message, which is guaranteed to be a
"headers" message.String representing a request URI
from the supplied message, which is guaranteed to be a
"headers" message.null when invoked.AbstractContainerRequestHandlingResponseWriter
implemented in terms of Http2Headers, Http2HeadersFrames, Http2DataFrames and ByteBufBackedChannelOutboundInvokingHttp2DataFrameOutputStreams.Http2ContainerRequestHandlingResponseWriter.Http2ContainerRequestHandlingResponseWriter.Http2ContainerRequestHandlingResponseWriter.Http2ContainerRequestHandlingResponseWriter.Http2StreamFrameToContainerRequestDecoder.Http2StreamFrameToContainerRequestDecoder(URI, Configuration)
constructor instead.Http2StreamFrameToContainerRequestDecoder.Http2StreamFrameToContainerRequestDecoder.AbstractContainerRequestHandlingResponseWriter
implemented in terms of HttpRequests, HttpResponses
and ByteBufBackedChannelOutboundInvokingHttpContentOutputStreams.HttpContainerRequestHandlingResponseWriter.HttpContainerRequestHandlingResponseWriter.HttpContainerRequestHandlingResponseWriter.HttpContainerRequestHandlingResponseWriter.HttpObjectToContainerRequestDecoder.HttpObjectToContainerRequestDecoder(URI, Supplier)
constructor instead.HttpObjectToContainerRequestDecoder.HttpObjectToContainerRequestDecoder.Channel using an appropriate
sequencing of several ChannelHandlers and other Netty
utility classes.message into the supplied ContainerRequest in some way.AbstractContainerRequestDecoder.installMessage(ChannelHandlerContext,
Object, ContainerRequest) method to
additionally install incoming headers into the
supplied ContainerRequest.AbstractContainerRequestDecoder.installMessage(ChannelHandlerContext,
Object, ContainerRequest) method to
additionally install incoming headers into the
supplied ContainerRequest.true if the supplied message represents a
"data" message (as distinguished from a "headers" message).true if the supplied message represents a
"headers" message (as distinguished from a "data" message).true if there will be no further message
components in an overall larger message after the supplied one.true if the supplied Http2StreamFrame is the
last of a stream of messages.true if the supplied HttpObject is the
last of a stream of messages.false in all cases.false in all cases.ChannelInitializer that initializes
Channels by configuring their ChannelPipelines to include ChannelHandlers that transform
Netty HTTP and HTTP/2 messages into Jersey ContainerRequests that are then handled by an ApplicationHandler.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.JerseyChannelInitializer.PropertiesDelegate built around a Map.MapBackedPropertiesDelegate.MapBackedPropertiesDelegate.ChannelPromises that will be used
in many ChannelOutboundInvoker operations.TerminableByteBufInputStream.read(byte[], int, int) method with the
supplied targetBytes array, 0 and targetBytes.length as arguments and returns its result.bytes as indicated
by the supplied length parameter into the supplied targetByte array, beginning the write at the element in the
supplied targetByteArray designated by the offset
parameter, and returns the actual number of bytes read,
or -1 if no bytes were read and the end of the
stream was reached, in which case terminate() must have
been called in the past.SimpleContainer.ResourceConfig.SecurityContext implementation that provides no user Principal,
has no role or user database, is
not secure, and that does not require authentication.SecurityContextAdapter.value as the property value to be
indexed under the supplied name.Container implementation that is not
actually needed for Jersey integration.SimpleContainer.SimpleContainer.InputStream implementation that reads from a CompositeByteBuf
whose contents are updated via the addByteBuf(ByteBuf)
method.TerminableByteBufInputStream.addByteBuf(ByteBuf) method such
that calling it will result in an IllegalStateException
being thrown.ByteBuf that uses the designated byte
array portion as its raw materials.ChannelHandlerContext to do so.AbstractContainerRequestHandlingResponseWriter.getChannelHandlerContext() method.AbstractContainerRequestHandlingResponseWriter.getChannelHandlerContext() method.ContainerResponse by calling the AbstractContainerRequestHandlingResponseWriter.writeStatusAndHeaders(long, ContainerResponse) method, and, if
the supplied contentLength is not 0L and that
method returns true indicating that output will be
forthcoming, returns the result of invoking AbstractContainerRequestHandlingResponseWriter.createOutputStream(long, ContainerResponse).ContainerResponse and returns true
if further output is forthcoming.ContainerResponse and returns true
if further output is forthcoming.ContainerResponse and returns true
if further output is forthcoming.Copyright © 2019–2020, microBean™. All rights reserved.