Uses of Interface
io.undertow.io.IoCallback
-
Packages that use IoCallback Package Description io.undertow.io io.undertow.server.handlers.cache io.undertow.server.handlers.resource io.undertow.server.protocol.http -
-
Uses of IoCallback in io.undertow.io
Classes in io.undertow.io that implement IoCallback Modifier and Type Class Description classDefaultIoCallbackA default callback implementation that simply ends the exchangeFields in io.undertow.io declared as IoCallback Modifier and Type Field Description static IoCallbackIoCallback. END_EXCHANGEA default callback that simply ends the exchange.Methods in io.undertow.io with parameters of type IoCallback Modifier and Type Method Description voidAsyncSenderImpl. close(IoCallback callback)voidBlockingSenderImpl. close(IoCallback callback)voidSender. close(IoCallback callback)Closes this sender asynchronously.voidAsyncSenderImpl. send(String data, IoCallback callback)voidAsyncSenderImpl. send(String data, Charset charset, IoCallback callback)voidAsyncSenderImpl. send(ByteBuffer[] buffer, IoCallback callback)voidAsyncSenderImpl. send(ByteBuffer buffer, IoCallback callback)voidBlockingSenderImpl. send(String data, IoCallback callback)voidBlockingSenderImpl. send(String data, Charset charset, IoCallback callback)voidBlockingSenderImpl. send(ByteBuffer[] buffer, IoCallback callback)voidBlockingSenderImpl. send(ByteBuffer buffer, IoCallback callback)voidSender. send(String data, IoCallback callback)Write the given String using async IO, and calls the given callback on completion or error.voidSender. send(String data, Charset charset, IoCallback callback)Write the given String using async IO, and calls the given callback on completion or error.voidSender. send(ByteBuffer[] buffer, IoCallback callback)Write the given buffers using async IO, and calls the given callback on completion or error.voidSender. send(ByteBuffer buffer, IoCallback callback)Write the given buffer using async IO, and calls the given callback on completion or error.voidAsyncSenderImpl. transferFrom(FileChannel source, IoCallback callback)voidBlockingSenderImpl. transferFrom(FileChannel source, IoCallback callback)voidSender. 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 IoCallback Modifier and Type Method Description voidResponseCachingSender. close(IoCallback callback)voidResponseCachingSender. send(String data, IoCallback callback)voidResponseCachingSender. send(String data, Charset charset, IoCallback callback)voidResponseCachingSender. send(ByteBuffer[] srcs, IoCallback callback)voidResponseCachingSender. send(ByteBuffer src, IoCallback callback)voidResponseCachingSender. 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 IoCallback Modifier and Type Method Description voidCachedResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)voidPathResource. serve(Sender sender, HttpServerExchange exchange, IoCallback callback)voidResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)Serve the resource, and call the provided callback when complete.voidURLResource. serve(Sender sender, HttpServerExchange exchange, IoCallback completionCallback)voidURLResource. serveImpl(Sender sender, HttpServerExchange exchange, long start, long end, boolean range, IoCallback completionCallback)voidCachedResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)voidPathResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback callback)voidRangeAwareResource. serveRange(Sender sender, HttpServerExchange exchange, long start, long end, IoCallback completionCallback)Serve the resource, and call the provided callback when complete.voidURLResource. 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 IoCallback Modifier and Type Method Description static voidHttpContinue. sendContinueResponse(HttpServerExchange exchange, IoCallback callback)Sends a continuation using async IO, and calls back when it is complete.
-