Uses of Class
com.yahoo.processing.Request
Packages that use Request
Package
Description
Java library for request-response data processing.
-
Uses of Request in com.yahoo.container.jdisc
Methods in com.yahoo.container.jdisc with parameters of type RequestModifier and TypeMethodDescriptionstatic Optional<HttpRequest>
HttpRequest.getHttpRequest
(Request processingRequest) -
Uses of Request in com.yahoo.processing
Methods in com.yahoo.processing that return RequestMethods in com.yahoo.processing with parameters of type RequestModifier and TypeMethodDescriptionabstract Response
Performs a processing request and returns the responseConstructors in com.yahoo.processing with parameters of type RequestModifierConstructorDescriptionCreates a request containing an empty array data listResponse
(Request request, ErrorMessage errorMessage) Convenience constructor which adds the given error message to the given request -
Uses of Request in com.yahoo.processing.execution
Methods in com.yahoo.processing.execution with parameters of type RequestModifier and TypeMethodDescriptionprotected Response
Execution.defaultResponse
(Request request) Creates the default response to return from this kind of execution when there are no further processors.protected Response
ExecutionWithResponse.defaultResponse
(Request request) protected void
Execution.onInvoking
(Request request, Processor next) A hook called when a processor is to be invoked.protected void
Execution.onReturning
(Request request, Processor processor, Response response) A hook called when a processor returns, either normally or by throwing.Performs an async processing.Calls process on the next processor in this chain.Constructors in com.yahoo.processing.execution with parameters of type Request -
Uses of Request in com.yahoo.processing.handler
Methods in com.yahoo.processing.handler with parameters of type RequestModifier and TypeMethodDescriptionAbstractProcessingHandler.createExecution
(Chain<COMPONENT> chain, Request processingRequest) Constructors in com.yahoo.processing.handler with parameters of type RequestModifierConstructorDescriptionProcessingResponse
(int status, Request processingRequest, Response processingResponse, Renderer renderer, Executor renderingExecutor, Execution execution) Creates a response headers object with a set of headers.ResponseStatus
(int code, Request request) -
Uses of Request in com.yahoo.processing.processors
Methods in com.yahoo.processing.processors with parameters of type Request -
Uses of Request in com.yahoo.processing.rendering
Methods in com.yahoo.processing.rendering with parameters of type RequestModifier and TypeMethodDescriptionfinal CompletableFuture<Boolean>
AsynchronousSectionedRenderer.renderResponse
(OutputStream stream, RESPONSE response, Execution execution, Request request) Render this response using the renderer's own threads and return a future indicating whether the rendering was successful.abstract CompletableFuture<Boolean>
Renderer.renderResponse
(OutputStream stream, RESPONSE response, Execution execution, Request request) Render a response to a stream.final CompletableFuture<Boolean>
AsynchronousSectionedRenderer.renderResponseBeforeHandover
(OutputStream stream, RESPONSE response, Execution execution, Request request) Initiate rendering before handover to rendering threads. -
Uses of Request in com.yahoo.processing.response
Methods in com.yahoo.processing.response that return RequestModifier and TypeMethodDescriptionFutureResponse.getRequest()
Returns the query used in this execution, never nullAbstractData.request()
Returns the request that created this dataAbstractDataList.request()
Returns the request which created this dataData.request()
Returns the request that created this dataMethods in com.yahoo.processing.response with parameters of type RequestModifier and TypeMethodDescriptionstatic <DATATYPE extends Data>
ArrayDataList<DATATYPE>Creates a simple data list which does not allow late incoming datastatic <DATATYPE extends Data>
ArrayDataList<DATATYPE>ArrayDataList.createAsync
(Request request) Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData)static <DATATYPE extends Data>
ArrayDataList<DATATYPE>ArrayDataList.createAsyncNonstreamed
(Request request) Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData) and where this data cannot be returned to clients until this is completed.static <DATATYPE extends Data>
ArrayDataList<DATATYPE>ArrayDataList.createAsyncUnordered
(Request request) Creates an instance of this which supports incoming data through the default mechanism (DefaultIncomingData), and where this data can be rendered in any order.Constructors in com.yahoo.processing.response with parameters of type RequestModifierConstructorDescriptionAbstractData
(Request request) Creates some data marked with the request that created itprotected
AbstractDataList
(Request request) Creates a simple data list which does not allow late incoming dataprotected
AbstractDataList
(Request request, IncomingData<DATATYPE> incomingData) Creates a simple data list which receives incoming data in the given instanceprotected
AbstractDataList
(Request request, IncomingData<DATATYPE> incomingData, boolean ordered, boolean streamed) Creates a simple data list which receives incoming data in the given instanceprotected
ArrayDataList
(Request request) Creates a simple data list which does not allow late incoming dataprotected
ArrayDataList
(Request request, IncomingData<DATATYPE> incomingData) Creates a simple data list which receives incoming data in the given instanceprotected
ArrayDataList
(Request request, IncomingData<DATATYPE> incomingData, boolean ordered, boolean streamed) Creates a simple data list which receives incoming data in the given instanceFutureResponse
(Callable<Response> callable, Execution execution, Request request)