Class JsrExtension

  • All Implemented Interfaces:
    javax.websocket.Extension

    public class JsrExtension
    extends java.lang.Object
    implements javax.websocket.Extension
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface javax.websocket.Extension

        javax.websocket.Extension.Parameter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getName()  
      java.util.List<javax.websocket.Extension.Parameter> getParameters()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JsrExtension

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

        public JsrExtension​(java.lang.String name)
        A potential (unconfigured) extension
        Parameters:
        name - the name of the extension
    • Method Detail

      • getName

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object