Package-level declarations
Types
Represents the base definition of an HTTP response in a mapping between a request and its corresponding response. Provides the required attributes and behavior for configuring HTTP responses, including status code, headers, and content type. This class serves as the foundation for more specialized response definitions.
Represents a base abstraction for defining the attributes of an HTTP response in the context of request-to-response mappings. This class allows customization of the HTTP status code and headers and provides a mechanism for building concrete response definitions.
Represents a concrete implementation of an HTTP response definition with a specific response body. This class builds on the AbstractResponseDefinition
to provide additional configuration and behavior.
Builder for constructing a definition of an HTTP response with configurable attributes.
A builder for constructing streaming response definitions.
Represents a definition for streaming responses, supporting chunked data and flow-based content streaming. This class extends the base AbstractResponseDefinition
to provide additional functionality specific to chunked or streamed responses. It can handle flow-based content delivery, manage chunk-wise delays, and supports various output formats such as OutputStream
, Writer
, or ServerSSESession
.