Uses of Interface
com.yahoo.processing.response.Data
Packages that use Data
Package
Description
Java library for request-response data processing.
-
Uses of Data in com.yahoo.processing
Methods in com.yahoo.processing with type parameters of type DataModifier and TypeMethodDescriptionstatic <D extends Data>
CompletableFuture<DataList<D>>Response.recursiveFuture(DataList<D> rootDataList) Returns a future in which the given data list and all lists nested within it are completed. -
Uses of Data in com.yahoo.processing.handler
Classes in com.yahoo.processing.handler that implement DataModifier and TypeClassDescriptionclassHolds a set of headers which will be added to the Processing response.classA data item holding a response HTTP status code. -
Uses of Data in com.yahoo.processing.rendering
Methods in com.yahoo.processing.rendering with parameters of type DataModifier and TypeMethodDescriptionabstract voidInvoked for each leaf node in the data treefinal voidprotected voidProcessingRenderer.renderValue(Data data, com.yahoo.text.JSONWriter writer) Renders the value of a data element.protected booleanProcessingRenderer.shouldRender(Data data) Returns whether this data element should be rendered. -
Uses of Data in com.yahoo.processing.response
Classes in com.yahoo.processing.response with type parameters of type DataModifier and TypeClassDescriptionclassAbstractDataList<DATATYPE extends Data>A convenience superclass for dataList implementations which handles references to the request and to incoming data.static final classAbstractDataList.DrainOnGetFuture<DATATYPE extends Data>classArrayDataList<DATATYPE extends Data>A data list backed by an array.interfaceA list of data items created due to a processing request.classDefaultIncomingData<DATATYPE extends Data>The default incoming data implementationinterfaceIncomingData<DATATYPE extends Data>A data list own once instance of this which can be used to provide data asynchronously to the list, and consume, wait for or be notified upon the arrival of such data.static final classIncomingData.NullIncomingData<DATATYPE extends Data>Creates a null implementation of this which is empty and complete at creation: Provides immediate return without incurring any memory synchronization for any read method.static classIncomingData.NullIncomingData.ImmediateFuture<DATATYPE extends Data>A future which is always done and incurs no synchronization.Subinterfaces of Data in com.yahoo.processing.responseModifier and TypeInterfaceDescriptioninterfaceA list of data items created due to a processing request.Classes in com.yahoo.processing.response that implement DataModifier and TypeClassDescriptionclassConvenience superclass for implementations of data.classAbstractDataList<DATATYPE extends Data>A convenience superclass for dataList implementations which handles references to the request and to incoming data.classArrayDataList<DATATYPE extends Data>A data list backed by an array.Methods in com.yahoo.processing.response with type parameters of type DataModifier 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.