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

        dannycoward created issue -
        dannycoward made changes -
        Field Original Value New Value
        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.

         

        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.

         
        Due Date 2012-11-16 00:00:00.0
        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.
        dannycoward made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Tags v008
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved: