Class DefaultServerEndpointDeploymentStrategy
- java.lang.Object
-
- org.apache.camel.websocket.jsr356.DefaultServerEndpointDeploymentStrategy
-
- All Implemented Interfaces:
ServerEndpointDeploymentStrategy
public class DefaultServerEndpointDeploymentStrategy extends Object implements ServerEndpointDeploymentStrategy
DefaultServerEndpointDeploymentStrategyto 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 voiddeploy(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.DeploymentExceptionDescription copied from interface:ServerEndpointDeploymentStrategyProvides the capability to customize how the WebSocket server endpoint is configured and deployed.- Specified by:
deployin interfaceServerEndpointDeploymentStrategy- Parameters:
container- TheServerContainerinstance on which the endpoint will be deployed.configBuilder- TheServerEndpointConfig.Builderobject to customize the endpoint configuration.- Throws:
javax.websocket.DeploymentException
-
-