Abstract Response Definition Builder
abstract class AbstractResponseDefinitionBuilder<P, T>(var httpStatus: <Error class: unknown class>, val headers: MutableList<<Error class: unknown class><String, String>>, var delay: <Error class: unknown class> = Duration.ZERO)
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.
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
Constructors
Link copied to clipboard
constructor(httpStatus: <Error class: unknown class>, headers: MutableList<<Error class: unknown class><String, String>>, delay: <Error class: unknown class> = Duration.ZERO)