websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-189

Shared Endpoint support in ServerEndpointConfig.Builder

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      A new method should be added to ServerEndpointConfig.Builder to facilitate easy creation of ServerEndpointConfig instances that use a shared Endpoint instance:

      For example:

      ServerEndpointConfig config = ServerEndpointConfig.Builder
      .create(ProgrammaticEndpoint.class, "/bar")
      .subprotocols(subprotocols)
      .singleThreaded(false).build();

      would create a ServerEndpointConfig instance that used a default Configurator instance that shared a single Endpoint instance between all calls to getEndpointInstance(...)

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: