Uses of Interface
com.yahoo.jdisc.handler.ContentChannel
-
Packages that use ContentChannel 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 aRequestHandler
.com.yahoo.jdisc.test Provides classes and interfaces for implementing unit tests of jDISC components. -
-
Uses of ContentChannel in com.yahoo.jdisc
Methods in com.yahoo.jdisc that return ContentChannel Modifier and Type Method Description ContentChannel
Request. connect(ResponseHandler responseHandler)
Attempts to resolve and connect to theRequestHandler
appropriate for theURI
of this Request. -
Uses of ContentChannel in com.yahoo.jdisc.handler
Classes in com.yahoo.jdisc.handler that implement ContentChannel Modifier and Type Class Description class
BufferedContentChannel
This class implements an unlimited, non-blocking content queue.class
NullContent
This class provides a convenient implementation ofContentChannel
that does not support being written to.class
ReadableContentChannel
This class implements aContentChannel
that has a blocking read interface.Methods in com.yahoo.jdisc.handler that return ContentChannel Modifier and Type Method Description ContentChannel
RequestDispatch. connect()
This methods callsRequestDispatch.newRequest()
to create a newRequest
, and then callsRequest.connect(ResponseHandler)
on that.ContentChannel
ResponseDispatch. connect(ResponseHandler responseHandler)
This methods callsResponseDispatch.newResponse()
to create a newResponse
, and then callsResponseHandler.handleResponse(Response)
with that.ContentChannel
RequestHandler. handleRequest(Request request, ResponseHandler handler)
This method will process the givenRequest
and return aContentChannel
into which the caller can write the Request's content.ContentChannel
ThreadedRequestHandler. handleRequest(Request request, ResponseHandler responseHandler)
ContentChannel
FutureResponse. handleResponse(Response response)
ContentChannel
RequestDispatch. handleResponse(Response response)
ContentChannel
ResponseHandler. handleResponse(Response response)
This method will process the givenResponse
and return aContentChannel
into which the caller can write the Response's content.Methods in com.yahoo.jdisc.handler with parameters of type ContentChannel Modifier and Type Method Description void
BufferedContentChannel. connectTo(ContentChannel content)
Connects this BufferedContentChannel to a ContentChannel.Constructors in com.yahoo.jdisc.handler with parameters of type ContentChannel Constructor Description BlockingContentWriter(ContentChannel content)
Creates a new BlockingContentWriter that encapsulates a givenContentChannel
.FastContentOutputStream(ContentChannel out)
Constructs a new FastContentOutputStream that writes into the givenContentChannel
.FastContentWriter(ContentChannel out)
Creates a new FastContentWriter that encapsulates a givenContentChannel
.FutureResponse(ContentChannel content)
Constructs a new FutureResponse that returns the givenContentChannel
whenFutureResponse.handleResponse(Response)
is invoked. -
Uses of ContentChannel in com.yahoo.jdisc.test
Classes in com.yahoo.jdisc.test that implement ContentChannel Modifier and Type Class Description class
NonWorkingContentChannel
Methods in com.yahoo.jdisc.test that return ContentChannel Modifier and Type Method Description ContentChannel
TestDriver. connectRequest(java.lang.String requestUri, ResponseHandler responseHandler)
Convenience method to create andRequest.connect(ResponseHandler)
aRequest
on theCurrentContainer
.ContentChannel
NonWorkingClientProvider. handleRequest(Request request, ResponseHandler handler)
ContentChannel
NonWorkingRequestHandler. handleRequest(Request request, ResponseHandler handler)
ContentChannel
NonWorkingResponseHandler. handleResponse(Response response)
-