Interface ExtendedExtension.ExtensionContext
-
- Enclosing interface:
- ExtendedExtension
public static interface ExtendedExtension.ExtensionContextContext present as a parameter in allExtendedExtensionmethods. Maintains per connection state of current extension.Context is created right before
ExtendedExtension.onExtensionNegotiation(ExtendedExtension.ExtensionContext, java.util.List)method call (server-side) orExtendedExtension.onHandshakeResponse(ExtendedExtension.ExtensionContext, java.util.List)method call (client-side). Last chance to access it is withinExtendedExtension.destroy(ExtendedExtension.ExtensionContext)method invocation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getProperties()Mutable, not synchronised property map.
-
-
-
Method Detail
-
getProperties
java.util.Map<java.lang.String,java.lang.Object> getProperties()
Mutable, not synchronised property map.Synchronisation is not necessary if you are accessing this map only during
ExtendedExtensionmethods invocation.- Returns:
- property map.
-
-