StaticResponseHandler — create static response in HTTP exchange
{
"name": string,
"type": "StaticResponseHandler",
"config": {
"status": number,
"reason": string,
"version": string,
"headers": {
name: [ expression, ... ], ...
},
"entity": string
}
}"status": number, requiredThe response status code (for example, 200).
"reason": string, optionalThe response status reason (for example,
"OK").
"version": string, optionalProtocol version. Default: "HTTP/1.1".
"headers": array of objects,
requiredHeader fields to set in the response. The name
specifies the header name, with an associated array of expressions to
evaluate as values.
"entity": string, optionalThe message entity to write in the response. Conforms to the set
Content-Type header and sets
Content-Length.