Package | Description |
---|---|
com.yahoo.jdisc |
Provides the common classes and interfaces of the jDISC core.
|
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 |
---|---|
private static class |
ProxyRequestHandler.IgnoredCompletion |
private static class |
ProxyRequestHandler.ProxyCompletionHandler |
Modifier and Type | Field and Description |
---|---|
(package private) CompletionHandler |
ProxyRequestHandler.ProxyCompletionHandler.delegate |
private static CompletionHandler |
ProxyRequestHandler.IGNORED_COMPLETION |
Modifier and Type | Method and Description |
---|---|
void |
ProxyRequestHandler.ProxyContentChannel.close(CompletionHandler completionHandler) |
void |
ProxyRequestHandler.ProxyContentChannel.write(ByteBuffer buf,
CompletionHandler completionHandler) |
Constructor and Description |
---|
ProxyCompletionHandler(SharedResource request,
CompletionHandler delegate) |
Modifier and Type | Class and Description |
---|---|
private class |
FastContentWriter.SimpleCompletionHandler |
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 | Field and Description |
---|---|
private CompletionHandler |
BufferedContentChannel.closeCompletion |
private CompletionHandler |
FastContentWriter.completionHandler |
(package private) CompletionHandler |
ReadableContentChannel.Entry.handler |
(package private) CompletionHandler |
BufferedContentChannel.Entry.handler |
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. |
Constructor and Description |
---|
Entry(ByteBuffer buf,
CompletionHandler handler) |
Entry(ByteBuffer buf,
CompletionHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
NonWorkingCompletionHandler |
private static class |
ServerProviderConformanceTest.CallableCompletionHandler |
Modifier and Type | Field and Description |
---|---|
private static CompletionHandler |
ServerProviderConformanceTest.EXCEPTION_COMPLETION_HANDLER |
Modifier and Type | Method and Description |
---|---|
protected CompletionHandler |
ServerProviderConformanceTest.TestRequestHandler.newCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
NonWorkingContentChannel.close(CompletionHandler handler) |
protected void |
ServerProviderConformanceTest.TestRequestHandler.completeInOtherThread(CompletionHandler handler,
Class<?>... allowedExceptionTypes) |
protected void |
ServerProviderConformanceTest.TestRequestHandler.fail(CompletionHandler handler,
Throwable failure,
Class<?>... allowedExceptionTypes) |
protected void |
ServerProviderConformanceTest.TestRequestHandler.failInOtherThread(CompletionHandler handler,
Throwable failure,
Class<?>... allowedExceptionTypes) |
void |
NonWorkingContentChannel.write(ByteBuffer buf,
CompletionHandler handler) |
Copyright © 2017. All rights reserved.