Uses of Class
com.yahoo.jdisc.Request
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 Request in com.yahoo.jdisc
Modifier and TypeMethodDescriptionRequest.setBindingMatch
(BindingMatch<RequestHandler> bindingMatch) Sets the last resolvedBindingMatch
of this Request.Modifier and TypeMethodDescriptionContainer.resolveHandler
(Request request) Attempts to find aRequestHandler
in the current server- (ifisServerRequest()
is true) or client- (ifisServerRequest()
is false)BindingSet
that matches the givenURI
.void
TimeoutManager.scheduleTimeout
(Request request) Schedule timeout management for a request.default void
TimeoutManager.unscheduleTimeout
(Request request) Unschedule timeout management for a previously scheduled request. -
Uses of Request in com.yahoo.jdisc.handler
Modifier and TypeMethodDescriptionprotected abstract Request
RequestDispatch.newRequest()
Creates and returns theRequest
to dispatch.RequestDeniedException.request()
Returns theRequest
that was denied.Modifier and TypeMethodDescriptionRequestHandler.handleRequest
(Request request, ResponseHandler handler) This method will process the givenRequest
and return aContentChannel
into which the caller can write the Request's content.protected void
ThreadedRequestHandler.handleRequest
(Request request, BufferedContentChannel requestContent, ResponseHandler responseHandler) Override this method if you want to access theRequest
's content using aBufferedContentChannel
.protected void
ThreadedRequestHandler.handleRequest
(Request request, ContentInputStream requestContent, ResponseHandler responseHandler) Implement this method if you want to access theRequest
's content using aContentInputStream
.protected void
ThreadedRequestHandler.handleRequest
(Request request, ReadableContentChannel requestContent, ResponseHandler responseHandler) Implement this method if you want to access theRequest
's content using aReadableContentChannel
.final ContentChannel
ThreadedRequestHandler.handleRequest
(Request request, ResponseHandler responseHandler) void
AbstractRequestHandler.handleTimeout
(Request request, ResponseHandler responseHandler) void
RequestHandler.handleTimeout
(Request request, ResponseHandler handler) This method is called by theContainer
when aRequest
that was previously accepted byRequestHandler.handleRequest(Request, ResponseHandler)
has timed out. -
Uses of Request in com.yahoo.jdisc.test
Modifier and TypeMethodDescriptionstatic Request
NonWorkingRequest.newInstance
(String uri, com.google.inject.Module... guiceModules) Modifier and TypeMethodDescriptionNonWorkingClientProvider.handleRequest
(Request request, ResponseHandler handler) NonWorkingRequestHandler.handleRequest
(Request request, ResponseHandler handler) void
NonWorkingClientProvider.handleTimeout
(Request request, ResponseHandler handler) void
NonWorkingRequestHandler.handleTimeout
(Request request, ResponseHandler handler)