websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-54

@WebSocketEndpoint(decoders/encoders) signature

    Details

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

      Description

      Currently, decoders annotation element is defined as follows:
      public Class[] decoders() default {};

      I think it should be:
      public Class<? extends Decoder>[] decoders() default {};

      similarly, for encoders

        Activity

        Hide
        dannycoward added a comment -

        This looks reasonable. I will propose to fix as proposed.

        Show
        dannycoward added a comment - This looks reasonable. I will propose to fix as proposed.
        Hide
        dannycoward added a comment -

        This has been added - thanks !

        Show
        dannycoward added a comment - This has been added - thanks !

          People

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

            Dates

            • Created:
              Updated:
              Resolved: