Combines this capability with the next
one.
A type of extension to request processing means applied by next
capability.
Next capability that receives requests modified by this capability.
New request processing capability that applies modifications to request by this capability first,
and then - by the next
one.
RequestCapability.combine
Abstract
forProvides request processing capability to the given handler.
Builds request processing handler that modifies request and delegates to target handler
.
A type of request processing means expected by constructed handler.
Request processing handler that will receive modified request context.
New request processing handler.
Configures JSON parsing capability to transform submitted data.
HTTP request processing means.
Transformed request body type.
Transformer function.
New JSON parsing capability.
Generated using TypeDoc
JSON request body parsing capability.
Attempts to parse requested data as JSON, and optionally transforms it to another type.
Responds with 415 (Unsupported Media Type) status code if request has content type specified, and it is not
application/json
,text/json
, ortext/plain
.Responds with 400 (Bad Request) status code if failed to parse JSON.