Class ApplicationConfig.ProgrammaticStatelessRemoteInterfaceEndpoint

java.lang.Object
jakarta.websocket.Endpoint
org.glassfish.tyrus.sample.cdi.ApplicationConfig.ProgrammaticStatelessRemoteInterfaceEndpoint
All Implemented Interfaces:
RemoteServiceProgrammatic
Enclosing class:
ApplicationConfig

public static class ApplicationConfig.ProgrammaticStatelessRemoteInterfaceEndpoint extends jakarta.websocket.Endpoint implements RemoteServiceProgrammatic
  • Constructor Details

    • ProgrammaticStatelessRemoteInterfaceEndpoint

      public ProgrammaticStatelessRemoteInterfaceEndpoint()
  • Method Details

    • onOpen

      public void onOpen(jakarta.websocket.Session session, jakarta.websocket.EndpointConfig config)
      Specified by:
      onOpen in interface RemoteServiceProgrammatic
      Specified by:
      onOpen in class jakarta.websocket.Endpoint
    • onClose

      public void onClose(jakarta.websocket.Session session, jakarta.websocket.CloseReason closeReason)
      Specified by:
      onClose in interface RemoteServiceProgrammatic
      Overrides:
      onClose in class jakarta.websocket.Endpoint
    • onError

      public void onError(jakarta.websocket.Session session, Throwable thr)
      Specified by:
      onError in interface RemoteServiceProgrammatic
      Overrides:
      onError in class jakarta.websocket.Endpoint