Class JakartaWebSocketExtension

java.lang.Object
org.eclipse.jetty.ee10.websocket.jakarta.common.JakartaWebSocketExtension
All Implemented Interfaces:
jakarta.websocket.Extension

public class JakartaWebSocketExtension extends Object implements jakarta.websocket.Extension
  • Constructor Details

    • JakartaWebSocketExtension

      public JakartaWebSocketExtension(ExtensionConfig cfg)
      A configured extension
      Parameters:
      cfg - the configuration for the extension
    • JakartaWebSocketExtension

      public JakartaWebSocketExtension(String name)
      A potential (unconfigured) extension
      Parameters:
      name - the name of the extension
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.websocket.Extension
    • getParameters

      public List<jakarta.websocket.Extension.Parameter> getParameters()
      Specified by:
      getParameters in interface jakarta.websocket.Extension
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object