Interface ExtendedExtension.ExtensionContext

Enclosing interface:
ExtendedExtension

public static interface ExtendedExtension.ExtensionContext
Context present as a parameter in all ExtendedExtension methods. Maintains per connection state of current extension.

Context is created right before ExtendedExtension.onExtensionNegotiation(ExtendedExtension.ExtensionContext, java.util.List) method call (server-side) or ExtendedExtension.onHandshakeResponse(ExtendedExtension.ExtensionContext, java.util.List) method call (client-side). Last chance to access it is within ExtendedExtension.destroy(ExtendedExtension.ExtensionContext) method invocation.

  • Method Summary

    Modifier and Type
    Method
    Description
    Mutable, not synchronised property map.
  • Method Details

    • getProperties

      Map<String,Object> getProperties()
      Mutable, not synchronised property map.

      Synchronisation is not necessary if you are accessing this map only during ExtendedExtension methods invocation.

      Returns:
      property map.