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.ProxyContentChannel |
Modifier and Type | Field and Description |
---|---|
(package private) ContentChannel |
ProxyRequestHandler.ProxyContentChannel.delegate |
Modifier and Type | Method and Description |
---|---|
ContentChannel |
Request.connect(ResponseHandler responseHandler)
Attempts to resolve and connect to the
RequestHandler appropriate for the URI of this Request. |
ContentChannel |
ProxyRequestHandler.handleRequest(Request request,
ResponseHandler responseHandler) |
ContentChannel |
ProxyRequestHandler.ProxyResponseHandler.handleResponse(Response response) |
ContentChannel |
ProxyRequestHandler.NullContentResponseHandler.handleResponse(Response response) |
Constructor and Description |
---|
ProxyContentChannel(SharedResource request,
ContentChannel delegate) |
Modifier and Type | Class and Description |
---|---|
class |
BufferedContentChannel
This class implements an unlimited, non-blocking content queue.
|
class |
NullContent
This class provides a convenient implementation of
ContentChannel that does not support being written to. |
class |
ReadableContentChannel
This class implements a
ContentChannel that has a blocking read interface. |
Modifier and Type | Field and Description |
---|---|
private ContentChannel |
BlockingContentWriter.channel |
private ContentChannel |
BufferedContentChannel.content |
private ContentChannel |
FastContentWriter.out |
Modifier and Type | Method and Description |
---|---|
ContentChannel |
RequestDispatch.connect()
This methods calls
RequestDispatch.newRequest() to create a new Request , and then calls Request.connect(ResponseHandler) on that. |
ContentChannel |
ResponseDispatch.connect(ResponseHandler responseHandler)
This methods calls
ResponseDispatch.newResponse() to create a new Response , and then calls ResponseHandler.handleResponse(Response) with that. |
ContentChannel |
ThreadedRequestHandler.handleRequest(Request request,
ResponseHandler responseHandler) |
ContentChannel |
RequestHandler.handleRequest(Request request,
ResponseHandler handler)
This method will process the given
Request and return a ContentChannel into which the caller
can write the Request's content. |
ContentChannel |
ResponseHandler.handleResponse(Response response)
This method will process the given
Response and return a ContentChannel into which the caller
can write the Response's content. |
ContentChannel |
RequestDispatch.handleResponse(Response response) |
ContentChannel |
FutureResponse.handleResponse(Response response) |
Modifier and Type | Method and Description |
---|---|
void |
BufferedContentChannel.connectTo(ContentChannel content)
Connects this BufferedContentChannel to a ContentChannel.
|
Constructor and Description |
---|
BlockingContentWriter(ContentChannel content)
Creates a new BlockingContentWriter that encapsulates a given
ContentChannel . |
FastContentOutputStream(ContentChannel out)
Constructs a new FastContentOutputStream that writes into the given
ContentChannel . |
FastContentWriter(ContentChannel out)
Creates a new FastContentWriter that encapsulates a given
ContentChannel . |
FutureResponse(ContentChannel content)
Constructs a new FutureResponse that returns the given
ContentChannel when FutureResponse.handleResponse(Response) is invoked. |
Modifier and Type | Class and Description |
---|---|
class |
NonWorkingContentChannel |
Modifier and Type | Method and Description |
---|---|
ContentChannel |
TestDriver.connectRequest(String requestUri,
ResponseHandler responseHandler)
Convenience method to create and
Request.connect(ResponseHandler) a Request on the CurrentContainer . |
protected abstract ContentChannel |
ServerProviderConformanceTest.TestRequestHandler.handle(Request request,
ResponseHandler responseHandler) |
ContentChannel |
ServerProviderConformanceTest.TestRequestHandler.handleRequest(Request request,
ResponseHandler responseHandler) |
ContentChannel |
NonWorkingRequestHandler.handleRequest(Request request,
ResponseHandler handler) |
ContentChannel |
NonWorkingClientProvider.handleRequest(Request request,
ResponseHandler handler) |
ContentChannel |
NonWorkingResponseHandler.handleResponse(Response response) |
Modifier and Type | Method and Description |
---|---|
protected void |
ServerProviderConformanceTest.TestRequestHandler.closeResponse(ContentChannel out) |
protected void |
ServerProviderConformanceTest.TestRequestHandler.closeResponseInOtherThread(ContentChannel out) |
private void |
ServerProviderConformanceTest.TestRequestHandler.writeAll(ContentChannel out,
Iterable<ByteBuffer> content) |
protected void |
ServerProviderConformanceTest.TestRequestHandler.writeResponse(ContentChannel out) |
Copyright © 2018. All rights reserved.