Package org.restheart.exchange
package org.restheart.exchange
-
ClassDescriptionServiceRequest implementation backed by BsonValue and initialized from csv data.ServiceRequest implementation backed by BsonValueServiceResponse implementation backed by BsonValueA buffered exchage stores content in a PooledByteBuffer This makes possibile using it in proxied requests.Exchange<T>The root class in the exchange hierarchy.Request implementation used by MongoService and backed by BsonValue that provides simplified methods to deal with headers and query parameters specific to mongo requestsResponse implementation used by MongoService and backed by BsonValue that provides simplify methods to deal mongo responseStores information about the pipeline that handles the request.ProxyRequest<T>Base class for Request implementation that can be used in proxied requests.Base class for Response implementation that can be used in proxied requests.Request<T>The root class for implementing a Request providing the implementation for common methodsResponse<T>The root class for implementing a Response providing the implementation for common methodsBase class for Request implementations that can be used in service requests.Base class for Response implementations that can be used in service requests.UninitializedRequest wraps the exchage and provides access to request attributes (such as getPath()) and allows setting a customRequestInitializer The request content can be only accessed in raw format with getRawContent() and setRawContent() Interceptors at intercePoint REQUEST_BEFORE_EXCHANGE_INIT receive UninitializedRequest as request argumentUninitializedResponse wraps the exchage and allows setting a customResponseInitializer Interceptors at intercePoint REQUEST_BEFORE_EXCHANGE_INIT receive UninitializedResponse as response argument