javax.websocket
Interface ServerContainer
- All Superinterfaces:
- ClientContainer
public interface ServerContainer
- extends ClientContainer
The ServerContainer is an implementation provided object that, in addition
to being able to initiate web socket connections (client), can register endpoints
that can handle incoming connection requests.
- Since:
- DRAFT 001
- Author:
- dannycoward
|
Method Summary |
void |
publishServer(Class<? extends Endpoint> endpointClazz)
Publish the given endpoint with the provided configuration
information. |
publishServer
void publishServer(Class<? extends Endpoint> endpointClazz)
throws DeploymentException
- Publish the given endpoint with the provided configuration
information.
- Parameters:
endpointClazz - the class of the endpoint to be deployed.
to deploy the endpoint.
- Throws:
DeploymentException
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.