Package | Description |
---|---|
org.eclipse.jetty.websocket.api |
Jetty WebSocket API
|
org.eclipse.jetty.websocket.api.extensions |
Jetty WebSocket API : WebSocket Extension API
|
Modifier and Type | Method and Description |
---|---|
List<ExtensionConfig> |
UpgradeResponse.getExtensions()
Get the list of extensions that should be used for the websocket.
|
List<ExtensionConfig> |
UpgradeRequest.getExtensions() |
Modifier and Type | Method and Description |
---|---|
void |
UpgradeRequest.addExtensions(ExtensionConfig... configs) |
Modifier and Type | Method and Description |
---|---|
void |
UpgradeResponse.setExtensions(List<ExtensionConfig> extensions)
Set the list of extensions that are approved for use with this websocket.
|
void |
UpgradeRequest.setExtensions(List<ExtensionConfig> configs) |
Modifier and Type | Method and Description |
---|---|
ExtensionConfig |
Extension.getConfig()
The active configuration for this extension.
|
static ExtensionConfig |
ExtensionConfig.parse(String parameterizedName)
Parse a single parameterized name.
|
Modifier and Type | Method and Description |
---|---|
static List<ExtensionConfig> |
ExtensionConfig.parseEnum(Enumeration<String> valuesEnum)
Parse enumeration of
Sec-WebSocket-Extensions header values into a ExtensionConfig list |
static List<ExtensionConfig> |
ExtensionConfig.parseList(String... rawSecWebSocketExtensions)
Parse 1 or more raw
Sec-WebSocket-Extensions header values into a ExtensionConfig list |
Modifier and Type | Method and Description |
---|---|
void |
ExtensionConfig.init(ExtensionConfig other)
Initialize the parameters on this config from the other configuration.
|
abstract Extension |
ExtensionFactory.newInstance(ExtensionConfig config) |
Modifier and Type | Method and Description |
---|---|
static String |
ExtensionConfig.toHeaderValue(List<ExtensionConfig> configs)
Convert a list of
ExtensionConfig to a header value |
Constructor and Description |
---|
ExtensionConfig(ExtensionConfig copy)
Copy constructor
|
Copyright © 1995-2015 Webtide. All Rights Reserved.