Abstract Response Definition Builder
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.
Author
Konstantin Pavlov
Parameters
P
The type of the request body. This determines the input type for which the response is being defined.
T
The type of the response data, which is returned to the client.
Inheritors
Types
Link copied to clipboard
Provides the headers { } lambda and headers += pair-shorthand syntax for configuring response headers within a AbstractResponseDefinitionBuilder.