Uses of Interface
com.yahoo.jdisc.handler.ContentChannel
Packages that use ContentChannel
Package
Description
Provides the common classes and interfaces of the jDISC core.
Provides classes and interfaces for implementing a
RequestHandler
.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 ContentChannelModifier and TypeMethodDescriptionRequest.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 ContentChannelModifier and TypeClassDescriptionfinal class
This class implements an unlimited, non-blocking content queue.final class
This class provides a convenient implementation ofContentChannel
that does not support being written to.final class
This class implements aContentChannel
that has a blocking read interface.Methods in com.yahoo.jdisc.handler that return ContentChannelModifier and TypeMethodDescriptionfinal ContentChannel
RequestDispatch.connect()
This methods callsRequestDispatch.newRequest()
to create a newRequest
, and then callsRequest.connect(ResponseHandler)
on that.final ContentChannel
ResponseDispatch.connect
(ResponseHandler responseHandler) This methods callsResponseDispatch.newResponse()
to create a newResponse
, and then callsResponseHandler.handleResponse(Response)
with that.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.final ContentChannel
ThreadedRequestHandler.handleRequest
(Request request, ResponseHandler responseHandler) FutureResponse.handleResponse
(Response response) RequestDispatch.handleResponse
(Response response) 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 ContentChannelModifier and TypeMethodDescriptionvoid
BufferedContentChannel.connectTo
(ContentChannel content) Connects this BufferedContentChannel to a ContentChannel.Constructors in com.yahoo.jdisc.handler with parameters of type ContentChannelModifierConstructorDescriptionBlockingContentWriter
(ContentChannel content) Creates a new BlockingContentWriter that encapsulates a givenContentChannel
.Constructs a new FastContentOutputStream that writes into the givenContentChannel
.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 ContentChannelMethods in com.yahoo.jdisc.test that return ContentChannelModifier and TypeMethodDescriptionTestDriver.connectRequest
(String requestUri, ResponseHandler responseHandler) Convenience method to create andRequest.connect(ResponseHandler)
aRequest
on theCurrentContainer
.NonWorkingClientProvider.handleRequest
(Request request, ResponseHandler handler) NonWorkingRequestHandler.handleRequest
(Request request, ResponseHandler handler) NonWorkingResponseHandler.handleResponse
(Response response)