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 | Field and Description |
---|---|
private Request |
Request.parent |
Modifier and Type | Method and Description |
---|---|
Request |
Request.setBindingMatch(BindingMatch<RequestHandler> bindingMatch)
Sets the last resolved
BindingMatch of this Request. |
Request |
Request.setServerRequest(boolean serverRequest)
Sets whether or not this Request was created by a
ServerProvider . |
Request |
Request.setUri(URI uri)
Sets the Uniform Resource Identifier used by the
Container to resolve the appropriate RequestHandler for this Request. |
Modifier and Type | Method and Description |
---|---|
ContentChannel |
ProxyRequestHandler.handleRequest(Request request,
ResponseHandler responseHandler) |
void |
ProxyRequestHandler.handleTimeout(Request request,
ResponseHandler responseHandler) |
RequestHandler |
Container.resolveHandler(Request request)
Attempts to find a
RequestHandler in the current server- (if isServerRequest() is
true) or client- (if isServerRequest() is false) BindingSet that
matches the given URI . |
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.
|
Constructor and Description |
---|
Request(Request parent,
URI uri)
Creates a new instance of this class.
|
Modifier and Type | Field and Description |
---|---|
(package private) Request |
ThreadedRequestHandler.RequestTask.request |
private Request |
RequestDeniedException.request |
Modifier and Type | Method and Description |
---|---|
protected abstract Request |
RequestDispatch.newRequest()
Creates and returns the
Request to dispatch. |
Request |
RequestDeniedException.request()
Returns the
Request that was denied. |
Modifier and Type | Method and Description |
---|---|
protected void |
ThreadedRequestHandler.handleRequest(Request request,
BufferedContentChannel requestContent,
ResponseHandler responseHandler)
Override this method if you want to access the
Request 's content using a BufferedContentChannel . |
protected void |
ThreadedRequestHandler.handleRequest(Request request,
ContentInputStream requestContent,
ResponseHandler responseHandler)
Implement this method if you want to access the
Request 's content using a ContentInputStream . |
protected void |
ThreadedRequestHandler.handleRequest(Request request,
ReadableContentChannel requestContent,
ResponseHandler responseHandler)
Implement this method if you want to access the
Request 's content using a ReadableContentChannel . |
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. |
void |
RequestHandler.handleTimeout(Request request,
ResponseHandler handler)
This method is called by the
Container when a Request that was previously accepted by RequestHandler.handleRequest(Request, ResponseHandler) has timed out. |
void |
AbstractRequestHandler.handleTimeout(Request request,
ResponseHandler responseHandler) |
Constructor and Description |
---|
RequestDeniedException(Request request)
|
RequestTask(Request request,
BufferedContentChannel content,
ResponseHandler responseHandler) |
Modifier and Type | Method and Description |
---|---|
static Request |
NonWorkingRequest.newInstance(String uri,
com.google.inject.Module... guiceModules)
|
Modifier and Type | Method and Description |
---|---|
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) |
void |
NonWorkingRequestHandler.handleTimeout(Request request,
ResponseHandler handler) |
void |
NonWorkingClientProvider.handleTimeout(Request request,
ResponseHandler handler) |
Copyright © 2017. All rights reserved.