Package jakarta.websocket
Interface Extension
- All Known Subinterfaces:
- ExtendedExtension
- All Known Implementing Classes:
- TyrusExtension
public interface Extension
A simple representation of a websocket extension as a name and map of extension parameters.
- Author:
- dannycoward
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThis member interface defines a single websocket extension parameter.
- 
Method SummaryModifier and TypeMethodDescriptiongetName()The name of the extension.The extension parameters for this extension in the order they appear in the http headers.
- 
Method Details- 
getNameString getName()The name of the extension.- Returns:
- the name of the extension.
 
- 
getParametersList<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.
 
 
-