| Package | Description |
|---|---|
| javax.net.websocket |
| Modifier and Type | Method and Description |
|---|---|
List<Extension> |
DefaultClientConfiguration.getExtensions()
Return the extensions, in order of preference, favorite first, that this client would
like to use for its sessions.
|
List<Extension> |
ClientConfiguration.getExtensions()
Return the list of all the extensions that this client supports.
|
List<Extension> |
Session.getNegotiatedExtensions()
Return the list of extensions currently in use for this conversation.
|
List<Extension> |
DefaultServerConfiguration.getNegotiatedExtensions(List<Extension> requestedExtensions)
Provides a simple algorithm to return the list of extensions this server will
use for the web socket session: the configuration returns a list containing all of the requested
extensions passed to this method that it supports, using the order in the requested
extensions.
|
List<Extension> |
ServerConfiguration.getNegotiatedExtensions(List<Extension> requestedExtensions)
Return the ordered list of extensions that this server will support given the requested
extension list passed in.
|
| Modifier and Type | Method and Description |
|---|---|
List<Extension> |
DefaultServerConfiguration.getNegotiatedExtensions(List<Extension> requestedExtensions)
Provides a simple algorithm to return the list of extensions this server will
use for the web socket session: the configuration returns a list containing all of the requested
extensions passed to this method that it supports, using the order in the requested
extensions.
|
List<Extension> |
ServerConfiguration.getNegotiatedExtensions(List<Extension> requestedExtensions)
Return the ordered list of extensions that this server will support given the requested
extension list passed in.
|
DefaultClientConfiguration |
DefaultClientConfiguration.setExtensions(List<Extension> preferredExtensions)
Assign the List of preferred subprotocols that this client would like to
use.
|
DefaultServerConfiguration |
DefaultServerConfiguration.setExtensions(List<Extension> extensions)
Sets all the extensions that this configuration will support.
|
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.