Package org.glassfish.grizzly.websockets
Class Extension.Parameter
java.lang.Object
org.glassfish.grizzly.websockets.Extension.Parameter
- Enclosing class:
- Extension
Representation of extension parameters.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Parameter
Constructs a new parameter based on the provided values.- Parameters:
name- the name of the parameter (may not benull).value- the value of the parameter (may benull).- Throws:
IllegalArgumentException- if name isnull.
-
-
Method Details
-
getName
- Returns:
- the parameter name.
-
getValue
- Returns:
- the parameter value; may be
null.
-
setValue
Set the value of this parameter.- Parameters:
value- the value of this parameter.
-
equals
-
hashCode
public int hashCode() -
toString
-