Package jakarta.websocket
Interface Extension
- 
public interface ExtensionA simple representation of a websocket extension as a name and map of extension parameters.- Author:
 - dannycoward
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExtension.ParameterThis member interface defines a single websocket extension parameter. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The name of the extension.List<Extension.Parameter>getParameters()The extension parameters for this extension in the order they appear in the http headers. 
 - 
 
- 
- 
Method Detail
- 
getName
String getName()
The name of the extension.- Returns:
 - the name of the extension.
 
 
- 
getParameters
List<Extension.Parameter> getParameters()
The extension parameters for this extension in the order they appear in the http headers.- Returns:
 - The read-only Map of extension parameters belonging to this extension.
 
 
 - 
 
 -