Annotation Type WebSocket


  • @Repeatable(WebSockets.class)
    @Retention(RUNTIME)
    public @interface WebSocket
    Annotation to configure a route to handle websocket requests Set the value to configure for a specific (possibly wild-card) path, or leave empty to handle all websocket requests.
    Author:
    odeda
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      Path on which to accept the websocket request
    • Element Detail

      • value

        String value
        Path on which to accept the websocket request
        Returns:
        path
        Default:
        "/*"