Annotation Type ServerWebSocket


  • @Documented
    @Retention(RUNTIME)
    @Target({TYPE,ANNOTATION_TYPE})
    @WebSocketComponent
    @DefaultScope(jakarta.inject.Singleton.class)
    public @interface ServerWebSocket
    Annotation declared on the server to indicate the class handles web socket frames.
    Since:
    1.0
      • subprotocols

        java.lang.String subprotocols
        Returns:
        A csv of the supported subprotocols
        Default:
        ""