websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-41

Consider allowing non-String types to assume the value of path parameters

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      allow things like

      @WebSocketMessage
      public void handleMethod(String message, @WebSocketPathParameter("level") Integer i) {
      XXXX
      }

      or any of the usual other that map easily to the subset of strings that are allowed to be URI path segments: java primtitive types, etc..

      Check this against the allowable types in JAX-RS.

        Activity

        Hide
        dannycoward added a comment -

        This feature has been added, spec and javadoc updated accordingly.

        Show
        dannycoward added a comment - This feature has been added, spec and javadoc updated accordingly.

          People

          • Assignee:
            Unassigned
            Reporter:
            dannycoward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved: