Class JavaxWebSocketExtension

java.lang.Object
org.eclipse.jetty.websocket.javax.common.JavaxWebSocketExtension
All Implemented Interfaces:
javax.websocket.Extension

public class JavaxWebSocketExtension extends Object implements javax.websocket.Extension
  • Constructor Details

    • JavaxWebSocketExtension

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

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

    • getName

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

      public List<javax.websocket.Extension.Parameter> getParameters()
      Specified by:
      getParameters in interface javax.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