websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-147

@WebSocketClose: javadoc not in sync with the Java API Web Socket pdf document

    Details

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

      Description

      The javadoc says:

      The method may only take the following parameters:-

      optional Session parameter
      optional CloseReason parameter
      Zero to n String parameters annotated with the WebSocketPathParam annotation.

      The pdf says:
      The the decorated method can only have optional Session parameter and zero to n String parameters. Which looks like the CloseReason is lost here.

        Activity

        mikc22 created issue -
        Hide
        dannycoward added a comment -

        Thanks for catching this. The javadoc is correct, and the spec document is updated in v013.

        Show
        dannycoward added a comment - Thanks for catching this. The javadoc is correct, and the spec document is updated in v013.
        dannycoward made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee dannycoward [ dannycoward ]
        Tags v013
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: