Package | Description |
---|---|
com.yahoo.jdisc.handler |
Provides classes and interfaces for implementing a
RequestHandler . |
com.yahoo.jdisc.test |
Provides classes and interfaces for implementing unit tests of jDISC components.
|
Modifier and Type | Class and Description |
---|---|
class |
FutureCompletion
This class provides an implementation of
CompletionHandler that allows you to wait for either FutureCompletion.completed() or FutureCompletion.failed(Throwable) to be called. |
Modifier and Type | Method and Description |
---|---|
void |
ReadableContentChannel.close(CompletionHandler handler) |
void |
BufferedContentChannel.close(CompletionHandler handler) |
void |
NullContent.close(CompletionHandler handler) |
void |
ContentChannel.close(CompletionHandler handler)
Closes this ContentChannel.
|
void |
ReadableContentChannel.write(ByteBuffer buf,
CompletionHandler handler) |
void |
BufferedContentChannel.write(ByteBuffer buf,
CompletionHandler handler) |
void |
NullContent.write(ByteBuffer buf,
CompletionHandler handler) |
void |
ContentChannel.write(ByteBuffer buf,
CompletionHandler handler)
Schedules the given
ByteBuffer to be written to the content corresponding to this ContentChannel. |
Modifier and Type | Class and Description |
---|---|
class |
NonWorkingCompletionHandler |
Modifier and Type | Method and Description |
---|---|
void |
NonWorkingContentChannel.close(CompletionHandler handler) |
void |
NonWorkingContentChannel.write(ByteBuffer buf,
CompletionHandler handler) |
Copyright © 2018. All rights reserved.