Interface ColumnBinding
- All Known Implementing Classes:
ExtractPathBinding,HeaderBinding,PathParamBinding,QueryParamBinding
public sealed interface ColumnBinding
permits QueryParamBinding, PathParamBinding, HeaderBinding, ExtractPathBinding
Sealed interface describing how a column maps to the underlying transport.
For ColumnDirection.IN columns:
QueryParamBinding— the column value is appended as a URL query parameter:as query("q")→?q=valuePathParamBinding— the column value is substituted into the URL path template:as path("id")→/items/{id}HeaderBinding— the column value is sent as a request header:as header("X-City")
For ColumnDirection.OUT columns:
ExtractPathBinding— the column value is extracted from the response body using a JSONPath expression:at "$.main.temp"
The binding is optional; an OUT column without a binding is mapped
by matching the column name against top-level response fields.