Class DefaultServerEndpointDeploymentStrategy
- java.lang.Object
-
- org.apache.camel.websocket.jsr356.DefaultServerEndpointDeploymentStrategy
-
- All Implemented Interfaces:
ServerEndpointDeploymentStrategy
public class DefaultServerEndpointDeploymentStrategy extends Object implements ServerEndpointDeploymentStrategy
DefaultServerEndpointDeploymentStrategy
to deploy a Websocket endpoint using the given configuration
-
-
Constructor Summary
Constructors Constructor Description DefaultServerEndpointDeploymentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deploy(javax.websocket.server.ServerContainer container, javax.websocket.server.ServerEndpointConfig.Builder configBuilder)
Provides the capability to customize how the WebSocket server endpoint is configured and deployed.
-
-
-
Method Detail
-
deploy
public void deploy(javax.websocket.server.ServerContainer container, javax.websocket.server.ServerEndpointConfig.Builder configBuilder) throws javax.websocket.DeploymentException
Description copied from interface:ServerEndpointDeploymentStrategy
Provides the capability to customize how the WebSocket server endpoint is configured and deployed.- Specified by:
deploy
in interfaceServerEndpointDeploymentStrategy
- Parameters:
container
- TheServerContainer
instance on which the endpoint will be deployed.configBuilder
- TheServerEndpointConfig.Builder
object to customize the endpoint configuration.- Throws:
javax.websocket.DeploymentException
-
-