public interface Extensible
The extensions property names are always prefixed by "x-".
| Modifier and Type | Method and Description |
|---|---|
void |
addExtension(String name,
Object value)
Adds the given object to this Extensible's map of extensions, with the given name as its key.
|
Map<String,Object> |
getExtensions()
Returns the extensions property from an Extensible instance.
|
void |
setExtensions(Map<String,Object> extensions)
Sets this Extensible's extensions property to the given map of extensions.
|
Map<String,Object> getExtensions()
void addExtension(String name, Object value)
name - the key used to access the extension object. Always prefixed by "x-".value - data not required by the specificationCopyright © 2018. All rights reserved.