public static final class ServerEndpointConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ServerEndpointConfig |
build() |
ServerEndpointConfig.Builder |
configurator(ServerEndpointConfig.Configurator serverEndpointConfigurator) |
static ServerEndpointConfig.Builder |
create(Class<?> endpointClass,
String path) |
ServerEndpointConfig.Builder |
decoders(List<Class<? extends Decoder>> decoders) |
ServerEndpointConfig.Builder |
encoders(List<Class<? extends Encoder>> encoders) |
ServerEndpointConfig.Builder |
extensions(List<Extension> extensions) |
ServerEndpointConfig.Builder |
subprotocols(List<String> subprotocols) |
public static ServerEndpointConfig.Builder create(Class<?> endpointClass, String path)
public ServerEndpointConfig build()
public ServerEndpointConfig.Builder encoders(List<Class<? extends Encoder>> encoders)
public ServerEndpointConfig.Builder decoders(List<Class<? extends Decoder>> decoders)
public ServerEndpointConfig.Builder subprotocols(List<String> subprotocols)
public ServerEndpointConfig.Builder extensions(List<Extension> extensions)
public ServerEndpointConfig.Builder configurator(ServerEndpointConfig.Configurator serverEndpointConfigurator)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.