Uses of Class
com.yahoo.processing.Request
-
Packages that use Request Package Description com.yahoo.container.jdisc com.yahoo.processing Java library for request-response data processing.com.yahoo.processing.execution com.yahoo.processing.handler com.yahoo.processing.processors com.yahoo.processing.rendering com.yahoo.processing.response com.yahoo.processing.test -
-
Uses of Request in com.yahoo.container.jdisc
Methods in com.yahoo.container.jdisc with parameters of type Request Modifier and Type Method Description static Optional<HttpRequest>
HttpRequest. getHttpRequest(Request processingRequest)
-
Uses of Request in com.yahoo.processing
Methods in com.yahoo.processing that return Request Modifier and Type Method Description Request
Request. clone()
Returns a clone of this request.Methods in com.yahoo.processing with parameters of type Request Modifier and Type Method Description abstract Response
Processor. process(Request request, Execution execution)
Performs a processing request and returns the responseConstructors in com.yahoo.processing with parameters of type Request Constructor Description Response(Request request)
Creates 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 Request Modifier and Type Method Description protected 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.FutureResponse
AsyncExecution. process(Request request)
Performs an async processing.Response
Execution. process(Request request)
Calls process on the next processor in this chain.Constructors in com.yahoo.processing.execution with parameters of type Request Constructor Description RunnableExecution(Request request, Execution execution)
-
Uses of Request in com.yahoo.processing.handler
Methods in com.yahoo.processing.handler with parameters of type Request Modifier and Type Method Description Execution
AbstractProcessingHandler. createExecution(Chain<COMPONENT> chain, Request processingRequest)
Constructors in com.yahoo.processing.handler with parameters of type Request Constructor Description ProcessingResponse(int status, Request processingRequest, Response processingResponse, Renderer renderer, Executor renderingExecutor, Execution execution)
ResponseHeaders(Map<String,List<String>> headers, Request request)
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 Modifier and Type Method Description Response
RequestPropertyTracer. process(Request request, Execution execution)
-
Uses of Request in com.yahoo.processing.rendering
Methods in com.yahoo.processing.rendering with parameters of type Request Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Boolean>
Renderer. render(OutputStream stream, RESPONSE response, Execution execution, Request request)
Deprecated, for removal: This API element is subject to removal in a future version.Use/implementRenderer.renderResponse(OutputStream, Response, Execution, Request)
instead.com.google.common.util.concurrent.ListenableFuture<Boolean>
AsynchronousSectionedRenderer. renderBeforeHandover(OutputStream stream, RESPONSE response, Execution execution, Request request)
Deprecated, for removal: This API element is subject to removal in a future version.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.CompletableFuture<Boolean>
Renderer. renderResponse(OutputStream stream, RESPONSE response, Execution execution, Request request)
Render a response to a stream.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 Request Modifier and Type Method Description Request
FutureResponse. getRequest()
Returns the query used in this execution, never nullRequest
AbstractData. request()
Returns the request that created this dataRequest
AbstractDataList. request()
Returns the request which created this dataRequest
Data. request()
Returns the request that created this dataMethods in com.yahoo.processing.response with parameters of type Request Modifier and Type Method Description static <DATATYPE extends Data>
ArrayDataList<DATATYPE>ArrayDataList. create(Request request)
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 Request Constructor Description AbstractData(Request request)
Creates some data marked with the request that created itAbstractDataList(Request request)
Creates a simple data list which does not allow late incoming dataAbstractDataList(Request request, IncomingData<DATATYPE> incomingData)
Creates a simple data list which receives incoming data in the given instanceAbstractDataList(Request request, IncomingData<DATATYPE> incomingData, boolean ordered, boolean streamed)
Creates a simple data list which receives incoming data in the given instanceArrayDataList(Request request)
Creates a simple data list which does not allow late incoming dataArrayDataList(Request request, IncomingData<DATATYPE> incomingData)
Creates a simple data list which receives incoming data in the given instanceArrayDataList(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)
-
Uses of Request in com.yahoo.processing.test
Methods in com.yahoo.processing.test with parameters of type Request Modifier and Type Method Description Response
ProcessorLibrary.AsyncDataProcessingInitiator. process(Request request, Execution execution)
Response
ProcessorLibrary.BlockingSplitter. process(Request request, Execution execution)
Response
ProcessorLibrary.CombineData. process(Request request, Execution execution)
Response
ProcessorLibrary.DataCounter. process(Request request, Execution execution)
Response
ProcessorLibrary.DataSource. process(Request request, Execution execution)
Response
ProcessorLibrary.EagerReturnFederator. process(Request request, Execution execution)
Response
ProcessorLibrary.Echo. process(Request request, Execution execution)
Response
ProcessorLibrary.ErrorAdder. process(Request request, Execution execution)
Response
ProcessorLibrary.Federator. process(Request request, Execution execution)
Response
ProcessorLibrary.FutureDataSource. process(Request request, Execution execution)
Response
ProcessorLibrary.Get6DataItems. process(Request request, Execution execution)
Response
ProcessorLibrary.ListenableFutureDataSource. process(Request request, Execution execution)
Response
ProcessorLibrary.LogValueAdder. process(Request request, Execution execution)
Response
ProcessorLibrary.RequestCounter. process(Request request, Execution execution)
Response
ProcessorLibrary.StatusSetter. process(Request request, Execution execution)
Response
ProcessorLibrary.StreamProcessingInitiator. process(Request request, Execution execution)
Response
ProcessorLibrary.StringDataAdder. process(Request request, Execution execution)
Response
ProcessorLibrary.StringDataListAdder. process(Request request, Execution execution)
Response
ProcessorLibrary.Trace. process(Request request, Execution execution)
Constructors in com.yahoo.processing.test with parameters of type Request Constructor Description MapData(Request request)
StringData(Request request, String string)
UnorderedArrayDataList(Request request)
-