Module traits
Source - EventHeaderTrait
- The
@eventHeader trait — binds a member to an event stream header. - EventPayloadTrait
- The
@eventPayload trait — binds a member to an event stream payload. - HostLabelTrait
- The
@hostLabel trait — binds a member to a host prefix label. - HttpHeaderTrait
- The
@httpHeader trait — binds a member to an HTTP header. - HttpLabelTrait
- The
@httpLabel trait — binds a member to a URI label. - HttpPayloadTrait
- The
@httpPayload trait — binds a member to the HTTP body. - HttpPrefixHeadersTrait
- The
@httpPrefixHeaders trait — binds a map to prefixed HTTP headers. - HttpQueryParamsTrait
- The
@httpQueryParams trait — binds a map to query parameters. - HttpQueryTrait
- The
@httpQuery trait — binds a member to a query parameter. - HttpResponseCodeTrait
- The
@httpResponseCode trait — binds a member to the HTTP status code. - HttpTrait
- The
@http trait — defines the HTTP method, URI pattern, and status code for an operation. - JsonNameTrait
- The
@jsonName trait — overrides the JSON key for a member. - MediaTypeTrait
- The
@mediaType trait — specifies the media type of a blob/string. - SensitiveTrait
- The
@sensitive trait — marks data as sensitive for logging redaction. - StreamingTrait
- The
@streaming trait — marks a blob or union as streaming. - TimestampFormatTrait
- The
@timestampFormat trait — specifies the serialization format for timestamps. - XmlAttributeTrait
- The
@xmlAttribute trait — serializes a member as an XML attribute. - XmlFlattenedTrait
- The
@xmlFlattened trait — removes the wrapping element for lists/maps in XML. - XmlNameTrait
- The
@xmlName trait — overrides the XML element name. - XmlNamespaceTrait
- The
@xmlNamespace trait — adds an XML namespace to an element.
- TimestampFormat
- Timestamp serialization formats.