Package | Description |
---|---|
io.undertow.io | |
io.undertow.server.handlers.cache | |
io.undertow.server.handlers.resource | |
io.undertow.server.protocol.http | |
io.undertow.servlet.core |
Modifier and Type | Class and Description |
---|---|
class |
DefaultIoCallback
A default callback implementation that simply ends the exchange
|
Modifier and Type | Field and Description |
---|---|
static IoCallback |
IoCallback.END_EXCHANGE
A default callback that simply ends the exchange.
|
Modifier and Type | Method and Description |
---|---|
void |
Sender.close(IoCallback callback)
Closes this sender asynchronously.
|
void |
BlockingSenderImpl.close(IoCallback callback) |
void |
AsyncSenderImpl.close(IoCallback callback) |
void |
Sender.send(ByteBuffer[] buffer,
IoCallback callback)
Write the given buffers using async IO, and calls the given callback on completion or error.
|
void |
BlockingSenderImpl.send(ByteBuffer[] buffer,
IoCallback callback) |
void |
AsyncSenderImpl.send(ByteBuffer[] buffer,
IoCallback callback) |
void |
Sender.send(ByteBuffer buffer,
IoCallback callback)
Write the given buffer using async IO, and calls the given callback on completion or error.
|
void |
BlockingSenderImpl.send(ByteBuffer buffer,
IoCallback callback) |
void |
AsyncSenderImpl.send(ByteBuffer buffer,
IoCallback callback) |
void |
Sender.send(String data,
Charset charset,
IoCallback callback)
Write the given String using async IO, and calls the given callback on completion or error.
|
void |
BlockingSenderImpl.send(String data,
Charset charset,
IoCallback callback) |
void |
AsyncSenderImpl.send(String data,
Charset charset,
IoCallback callback) |
void |
Sender.send(String data,
IoCallback callback)
Write the given String using async IO, and calls the given callback on completion or error.
|
void |
BlockingSenderImpl.send(String data,
IoCallback callback) |
void |
AsyncSenderImpl.send(String data,
IoCallback callback) |
void |
Sender.transferFrom(FileChannel channel,
IoCallback callback)
Transfers all content from the specified file
|
void |
BlockingSenderImpl.transferFrom(FileChannel source,
IoCallback callback) |
void |
AsyncSenderImpl.transferFrom(FileChannel source,
IoCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
ResponseCachingSender.close(IoCallback callback) |
void |
ResponseCachingSender.send(ByteBuffer[] srcs,
IoCallback callback) |
void |
ResponseCachingSender.send(ByteBuffer src,
IoCallback callback) |
void |
ResponseCachingSender.send(String data,
Charset charset,
IoCallback callback) |
void |
ResponseCachingSender.send(String data,
IoCallback callback) |
void |
ResponseCachingSender.transferFrom(FileChannel channel,
IoCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
CachedResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback) |
void |
Resource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback)
Serve the resource, and call the provided callback when complete.
|
void |
PathResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback callback) |
void |
URLResource.serve(Sender sender,
HttpServerExchange exchange,
IoCallback completionCallback) |
void |
URLResource.serveImpl(Sender sender,
HttpServerExchange exchange,
long start,
long end,
boolean range,
IoCallback completionCallback) |
void |
RangeAwareResource.serveRange(Sender sender,
HttpServerExchange exchange,
long start,
long end,
IoCallback completionCallback)
Serve the resource, and call the provided callback when complete.
|
void |
CachedResource.serveRange(Sender sender,
HttpServerExchange exchange,
long start,
long end,
IoCallback completionCallback) |
void |
PathResource.serveRange(Sender sender,
HttpServerExchange exchange,
long start,
long end,
IoCallback callback) |
void |
URLResource.serveRange(Sender sender,
HttpServerExchange exchange,
long start,
long end,
IoCallback completionCallback) |
Modifier and Type | Method and Description |
---|---|
static void |
HttpContinue.sendContinueResponse(HttpServerExchange exchange,
IoCallback callback)
Sends a continuation using async IO, and calls back when it is complete.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockingWriterSenderImpl.close(IoCallback callback) |
void |
BlockingWriterSenderImpl.send(ByteBuffer[] buffer,
IoCallback callback) |
void |
BlockingWriterSenderImpl.send(ByteBuffer buffer,
IoCallback callback) |
void |
BlockingWriterSenderImpl.send(String data,
Charset charset,
IoCallback callback) |
void |
BlockingWriterSenderImpl.send(String data,
IoCallback callback) |
void |
BlockingWriterSenderImpl.transferFrom(FileChannel source,
IoCallback callback) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.