primary
This is the default service chosen if there is no match.
RouterProtocolRouter is used when there are multiple
services that can be used. Each service is selected based on the
protocol sent in the initiating request. If a match cannot be
made based on the request then a default service us chosen.ProtocolRouter(Map<String,Service> registry,
Service primary) ProtocolRouter object.ProtocolRouter object. This is
used to create a router using a selection of services that can
be selected using the Sec-WebSocket-Protocol header
sent in the initiating request by the client.registry - this is the registry of available servicesprimary - this is the default service to useIOException