Class JsrExtension
- java.lang.Object
-
- org.eclipse.jetty.websocket.jsr356.JsrExtension
-
- All Implemented Interfaces:
javax.websocket.Extension
public class JsrExtension extends java.lang.Object implements javax.websocket.Extension
-
-
Constructor Summary
Constructors Constructor Description JsrExtension(java.lang.String name)
A potential (unconfigured) extensionJsrExtension(ExtensionConfig cfg)
A configured extension
-
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()
-
-
-
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 interfacejavax.websocket.Extension
-
getParameters
public java.util.List<javax.websocket.Extension.Parameter> getParameters()
- Specified by:
getParameters
in interfacejavax.websocket.Extension
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-