| 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 | Description |
|---|---|---|
java.util.List<ExtensionConfig> |
UpgradeRequest.getExtensions() |
Get the list of WebSocket Extension Configurations for this Upgrade Request.
|
java.util.List<ExtensionConfig> |
UpgradeResponse.getExtensions() |
Get the list of extensions that should be used for the websocket.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
UpgradeRequest.addExtensions(ExtensionConfig... configs) |
Add WebSocket Extension Configuration(s) to Upgrade Request.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
UpgradeRequest.setExtensions(java.util.List<ExtensionConfig> configs) |
Set the list of WebSocket Extension configurations on the request.
|
void |
UpgradeResponse.setExtensions(java.util.List<ExtensionConfig> extensions) |
Set the list of extensions that are approved for use with this websocket.
|
| Modifier and Type | Method | Description |
|---|---|---|
ExtensionConfig |
Extension.getConfig() |
The active configuration for this extension.
|
static ExtensionConfig |
ExtensionConfig.parse(java.lang.String parameterizedName) |
Parse a single parameterized name.
|
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<ExtensionConfig> |
ExtensionConfig.parseEnum(java.util.Enumeration<java.lang.String> valuesEnum) |
Parse enumeration of
Sec-WebSocket-Extensions header values into a ExtensionConfig list |
static java.util.List<ExtensionConfig> |
ExtensionConfig.parseList(java.lang.String... rawSecWebSocketExtensions) |
Parse 1 or more raw
Sec-WebSocket-Extensions header values into a ExtensionConfig list |
| Modifier and Type | Method | 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 | Description |
|---|---|---|
static java.lang.String |
ExtensionConfig.toHeaderValue(java.util.List<ExtensionConfig> configs) |
Convert a list of
ExtensionConfig to a header value |
| Constructor | Description |
|---|---|
ExtensionConfig(ExtensionConfig copy) |
Copy constructor
|
Copyright © 1995–2018 Webtide. All rights reserved.