Package org.glassfish.tyrus.core
Class TyrusExtension.TyrusParameter
- java.lang.Object
-
- org.glassfish.tyrus.core.TyrusExtension.TyrusParameter
-
- All Implemented Interfaces:
Extension.Parameter
,java.io.Serializable
- Enclosing class:
- TyrusExtension
public static class TyrusExtension.TyrusParameter extends java.lang.Object implements Extension.Parameter, java.io.Serializable
WebSocketExtension.Parameter
implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TyrusParameter(java.lang.String name, java.lang.String value)
CreateExtension.Parameter
with name and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Return the name of the extension parameter.java.lang.String
getValue()
Return the value of the extension parameter.java.lang.String
toString()
-
-
-
Constructor Detail
-
TyrusParameter
public TyrusParameter(java.lang.String name, java.lang.String value)
CreateExtension.Parameter
with name and value.- Parameters:
name
- parameter name.value
- parameter value.
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:Extension.Parameter
Return the name of the extension parameter.- Specified by:
getName
in interfaceExtension.Parameter
- Returns:
- the name of the parameter.
-
getValue
public java.lang.String getValue()
Description copied from interface:Extension.Parameter
Return the value of the extension parameter.- Specified by:
getValue
in interfaceExtension.Parameter
- Returns:
- the value of the parameter.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-