Uses of Interface
javax.websocket.Session

Packages that use Session
javax.websocket   
 

Uses of Session in javax.websocket
 

Methods in javax.websocket that return Session
 Session WebSocketContainer.connectToServer(Class<?> annotatedEndpointClass, URI path)
          Connect the supplied annotated object to its server.
 Session WebSocketContainer.connectToServer(Class<? extends Endpoint> endpointClass, ClientEndpointConfiguration cec, URI path)
          Connect the supplied programmatic endpoint to its server with the given configuration.
 

Methods in javax.websocket that return types with arguments of type Session
 Set<Session> Session.getOpenSessions()
          Return a copy of the Set of all the open web socket sessions that represent connections to the same endpoint to which this session represents a connection.
 

Methods in javax.websocket with parameters of type Session
 void Endpoint.onClose(Session session, CloseReason closeReason)
          This method is called immediately prior to the session with the remote peer being closed.
 void Endpoint.onError(Session session, Throwable thr)
          Developers may implement this method when the web socket session creates some kind of error that is not modeled in the web socket protocol.
abstract  void Endpoint.onOpen(Session session, EndpointConfiguration config)
          Developers must implement this method to be notified when a new conversation has just begun.
 




Copyright © 2012-2013 Oracle and/or its affiliates. All rights reserved.