websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-186

The API and annotation examples in 2.1.4 are not equivalent.

    Details

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

      Description

      The annotation example includes a path mapping, so it not only defines an EndPoint but adds it to the ServerContainer.

      To make the API version equivalent, it needs to following line to be run either as a static initialiser or some other method:

      ServerContainerProvider.getServerContainer().addEndpoint(ServerEndpointConfig.Builder.create(HelloServer.class,"/hello").build());

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: