Uses of Interface
io.undertow.io.IoCallback
Packages that use IoCallback
Package
Description
-
Uses of IoCallback in io.undertow.io
Classes in io.undertow.io that implement IoCallbackModifier and TypeClassDescriptionclass
A default callback implementation that simply ends the exchangeFields in io.undertow.io declared as IoCallbackModifier and TypeFieldDescriptionstatic final IoCallback
IoCallback.END_EXCHANGE
A default callback that simply ends the exchange.Methods in io.undertow.io with parameters of type IoCallbackModifier and TypeMethodDescriptionvoid
AsyncSenderImpl.close
(IoCallback callback) void
BlockingSenderImpl.close
(IoCallback callback) void
Sender.close
(IoCallback callback) Closes this sender asynchronously.void
AsyncSenderImpl.send
(String data, IoCallback callback) void
AsyncSenderImpl.send
(String data, Charset charset, IoCallback callback) void
AsyncSenderImpl.send
(ByteBuffer[] buffer, IoCallback callback) void
AsyncSenderImpl.send
(ByteBuffer buffer, IoCallback callback) void
BlockingSenderImpl.send
(String data, IoCallback callback) void
BlockingSenderImpl.send
(String data, Charset charset, IoCallback callback) void
BlockingSenderImpl.send
(ByteBuffer[] buffer, IoCallback callback) void
BlockingSenderImpl.send
(ByteBuffer buffer, 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
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
Sender.send
(ByteBuffer[] buffer, IoCallback callback) Write the given buffers using async IO, and calls the given callback on completion or error.void
Sender.send
(ByteBuffer buffer, IoCallback callback) Write the given buffer using async IO, and calls the given callback on completion or error.void
AsyncSenderImpl.transferFrom
(FileChannel source, IoCallback callback) void
BlockingSenderImpl.transferFrom
(FileChannel source, IoCallback callback) void
Sender.transferFrom
(FileChannel channel, IoCallback callback) Transfers all content from the specified file -
Uses of IoCallback in io.undertow.server.handlers.cache
Methods in io.undertow.server.handlers.cache with parameters of type IoCallbackModifier and TypeMethodDescriptionvoid
ResponseCachingSender.close
(IoCallback callback) void
ResponseCachingSender.send
(String data, IoCallback callback) void
ResponseCachingSender.send
(String data, Charset charset, IoCallback callback) void
ResponseCachingSender.send
(ByteBuffer[] srcs, IoCallback callback) void
ResponseCachingSender.send
(ByteBuffer src, IoCallback callback) void
ResponseCachingSender.transferFrom
(FileChannel channel, IoCallback callback) -
Uses of IoCallback in io.undertow.server.handlers.resource
Methods in io.undertow.server.handlers.resource with parameters of type IoCallbackModifier and TypeMethodDescriptionvoid
CachedResource.serve
(Sender sender, HttpServerExchange exchange, IoCallback completionCallback) void
PathResource.serve
(Sender sender, HttpServerExchange exchange, IoCallback callback) void
Resource.serve
(Sender sender, HttpServerExchange exchange, IoCallback completionCallback) Serve the resource, and call the provided callback when complete.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
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
RangeAwareResource.serveRange
(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) Serve the resource, and call the provided callback when complete.void
URLResource.serveRange
(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback) -
Uses of IoCallback in io.undertow.server.protocol.http
Methods in io.undertow.server.protocol.http with parameters of type IoCallbackModifier and TypeMethodDescriptionstatic void
HttpContinue.sendContinueResponse
(HttpServerExchange exchange, IoCallback callback) Sends a continuation using async IO, and calls back when it is complete.