Package | Description |
---|---|
io.undertow.channels | |
io.undertow.protocols.ajp | |
io.undertow.protocols.http2 | |
io.undertow.server.protocol.framed | |
io.undertow.websockets.core | |
io.undertow.websockets.core.function | |
org.xnio |
The main API package for XNIO.
|
org.xnio.channels |
The core XNIO channel API.
|
org.xnio.conduits |
The XNIO conduit SPI.
|
Modifier and Type | Class and Description |
---|---|
class |
DetachableStreamSourceChannel
A stream source channel that can be marked as detached.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAjpClientStreamSourceChannel |
class |
AjpClientResponseStreamSourceChannel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttp2StreamSourceChannel
HTTP2 stream source channel
|
class |
Http2GoAwayStreamSourceChannel
A HTTP2 go away frame
|
class |
Http2PingStreamSourceChannel
A HTTP2 Ping frame
|
class |
Http2PushPromiseStreamSourceChannel
A HTTP2 push promise frame
|
class |
Http2RstStreamStreamSourceChannel
A HTTP2 RST Stream channel
|
class |
Http2SettingsStreamSourceChannel
A HTTP2 Settings frame
|
class |
Http2StreamSourceChannel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFramedStreamSourceChannel<C extends AbstractFramedChannel<C,R,S>,R extends AbstractFramedStreamSourceChannel<C,R,S>,S extends AbstractFramedStreamSinkChannel<C,R,S>>
Source channel, used to receive framed messages.
|
Modifier and Type | Class and Description |
---|---|
class |
StreamSourceFrameChannel
Base class for processes Frame bases StreamSourceChannels.
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelFunctionStreamSourceChannel |
Modifier and Type | Method and Description |
---|---|
static <T extends SuspendableReadChannel> |
ChannelListeners.readSuspendingChannelListener(ChannelListener<? super T> delegate)
A read-suspending channel listener.
|
Modifier and Type | Method and Description |
---|---|
static void |
IoUtils.safeShutdownReads(SuspendableReadChannel channel)
Safely shutdown reads on the given channel.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BoundMultipointMessageChannel
A multipoint datagram channel.
|
interface |
ConnectedMessageChannel
A channel that sends and receives messages to a connected peer.
|
interface |
ConnectedSslStreamChannel
A TLS-encapsulated connected stream channel.
|
interface |
ConnectedStreamChannel
A stream channel that is a connection between a local and remote endpoint.
|
interface |
MessageChannel
A channel that sends and receives whole messages.
|
interface |
MulticastMessageChannel
A multicast-capable point-to-multipoint channel.
|
interface |
MultipointMessageChannel
A point-to-multipoint message channel.
|
interface |
ReadableMessageChannel
A channel that can receive messages.
|
interface |
ReadableMultipointMessageChannel
The readable side of a multipoint message channel.
|
interface |
StreamChannel
A stream channel.
|
interface |
StreamSourceChannel
A stream source channel.
|
interface |
SuspendableChannel
A suspendable bidirectional channel.
|
Modifier and Type | Class and Description |
---|---|
class |
AssembledConnectedMessageChannel
A connected bidirectional message channel assembled from a readable and writable message channel.
|
class |
AssembledConnectedSslStreamChannel
A connected SSL stream channel assembled from a stream source and stream sink.
|
class |
AssembledConnectedStreamChannel
A connected stream channel assembled from a stream source and stream sink.
|
class |
AssembledMessageChannel
A bidirectional message channel assembled from a readable and writable message channel.
|
class |
AssembledStreamChannel
A stream channel assembled from a stream source and stream sink.
|
class |
EmptyStreamSourceChannel
A stream source channel which is always empty.
|
class |
FixedLengthStreamSourceChannel
A channel which reads data of a fixed length and calls a finish listener.
|
class |
FramedMessageChannel
Deprecated.
This class is deprecated; use conduits instead.
|
class |
PushBackStreamChannel
A stream source channel which can have data pushed back into it.
|
class |
SplitStreamSourceChannel
A half-duplex (read side) wrapper for a full-duplex channel.
|
class |
TranslatingSuspendableChannel<C extends SuspendableChannel,W extends SuspendableChannel>
Deprecated.
This class is deprecated; use conduits instead.
|
Modifier and Type | Method and Description |
---|---|
static <C extends ReadableByteChannel & SuspendableReadChannel> |
Channels.readBlocking(C channel,
ByteBuffer buffer)
Simple utility method to execute a blocking read on a readable byte channel.
|
static <C extends ScatteringByteChannel & SuspendableReadChannel> |
Channels.readBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len)
Simple utility method to execute a blocking read on a scattering byte channel.
|
static <C extends ScatteringByteChannel & SuspendableReadChannel> |
Channels.readBlocking(C channel,
ByteBuffer[] buffers,
int offs,
int len,
long time,
TimeUnit unit)
Simple utility method to execute a blocking read on a scattering byte channel with a timeout.
|
static <C extends ReadableByteChannel & SuspendableReadChannel> |
Channels.readBlocking(C channel,
ByteBuffer buffer,
long time,
TimeUnit unit)
Simple utility method to execute a blocking read on a readable byte channel with a timeout.
|
static <T extends SuspendableReadChannel> |
Channels.setReadListener(T channel,
ChannelListener<? super T> listener)
Set the read listener for a channel (type-safe).
|
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends SuspendableReadChannel> |
SuspendableReadChannel.getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends SuspendableReadChannel> |
SuspendableReadChannel.getReadSetter()
Get the setter which can be used to change the read listener for this channel.
|
Modifier and Type | Method and Description |
---|---|
static void |
Channels.resumeReadsAsync(SuspendableReadChannel channel)
Resume reads asynchronously.
|
Constructor and Description |
---|
AssembledChannel(SuspendableReadChannel readChannel,
SuspendableWriteChannel writeChannel)
Construct a new instance.
|
AssembledConnectedChannel(SuspendableReadChannel readChannel,
SuspendableWriteChannel writeChannel)
Construct a new instance.
|
AssembledSslChannel(SuspendableReadChannel readChannel,
SuspendableWriteChannel writeChannel)
Construct a new instance.
|
Modifier and Type | Class and Description |
---|---|
static class |
ReadReadyHandler.ChannelListenerHandler<C extends SuspendableReadChannel & ReadListenerSettable<C> & CloseListenerSettable<C>>
A read ready handler which calls channel listener(s).
|
Modifier and Type | Class and Description |
---|---|
class |
ConduitReadableMessageChannel
A readable message channel which is backed by a message source conduit.
|
class |
ConduitStreamSourceChannel
A stream source channel which wraps a stream source conduit.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.