java.lang.Object
io.cloudevents.core.extensions.DatarefExtension
- All Implemented Interfaces:
io.cloudevents.CloudEventExtension
This extension supports the "Claim Check Pattern". It allows to specify a reference to a location where the event payload is stored.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DATAREF
The key of thedatarefextension- See Also:
-
-
Constructor Details
-
DatarefExtension
public DatarefExtension()
-
-
Method Details
-
getDataref
- Returns:
- the
datarefcontained in this extension.
-
setDataref
- Parameters:
dataref- the uri to set asdataref.
-
readFrom
public void readFrom(io.cloudevents.CloudEventExtensions extensions) - Specified by:
readFromin interfaceio.cloudevents.CloudEventExtension
-
getValue
- Specified by:
getValuein interfaceio.cloudevents.CloudEventExtension
-
getKeys
- Specified by:
getKeysin interfaceio.cloudevents.CloudEventExtension
-
toString
-
hashCode
public int hashCode() -
equals
-