public interface ServerEndpointConfig extends EndpointConfig
ServerEndpointConfig.Builder を使用して ServerEndpointConfig オブジェクトを作成できます。特定の構成操作は、ServerEndpointConfig.Configurator を提供することによってカスタマイズできます | 修飾子と型 | インターフェースと説明 |
|---|---|
static class | ServerEndpointConfig.BuilderServerEndpointConfig.Builder は、サーバーエンドポイントをデプロイする目的で ServerEndpointConfig.Builder オブジェクトを作成するために使用されるクラスです。 |
static class | ServerEndpointConfig.ConfiguratorServerEndpointConfig.Configurator クラスは、オープニングハンドシェイクのインターセプトなどのカスタム構成アルゴリズムを提供したり、このコンフィギュレーターで構成された各エンドポイントインスタンスからアクセスできる任意のメソッドとアルゴリズムを提供したい開発者によって拡張できます。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ServerEndpointConfig.Configurator | getConfigurator() この構成が使用している ServerEndpointConfig.Configurator を返します。 |
ClassSE<?> | getEndpointClass() この構成が構成しているエンドポイントのクラスを返します。 |
ListSE<Extension> | getExtensions() 構成された WebSocket 拡張機能を返します。 |
StringSE | getPath() このエンドポイント構成のパスを返します。 |
ListSE<StringSE> | getSubprotocols() 構成された WebSocket サブプロトコルを返します。 |
getDecoders, getEncoders, getUserPropertiesClassSE<?> getEndpointClass()
StringSE getPath()
ListSE<StringSE> getSubprotocols()
ServerEndpointConfig.Configurator getConfigurator()
ServerEndpointConfig.Configurator を返します。ServerEndpointConfig.Builder.configurator(javax.websocket.server.ServerEndpointConfig.Configurator) を呼び出して何も設定されていない場合、このメソッドはプラットフォームのデフォルトコンフィギュレーターを返します。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.