Class JdkNpnApplicationProtocolNegotiator

    • Constructor Detail

      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(java.lang.Iterable<java.lang.String> protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(java.lang.String... protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(boolean failIfNoCommonProtocols,
                                                   java.lang.Iterable<java.lang.String> protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        failIfNoCommonProtocols - Fail with a fatal alert if not common protocols are detected.
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(boolean failIfNoCommonProtocols,
                                                   java.lang.String... protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        failIfNoCommonProtocols - Fail with a fatal alert if not common protocols are detected.
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(boolean clientFailIfNoCommonProtocols,
                                                   boolean serverFailIfNoCommonProtocols,
                                                   java.lang.Iterable<java.lang.String> protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        clientFailIfNoCommonProtocols - Client side fail with a fatal alert if not common protocols are detected.
        serverFailIfNoCommonProtocols - Server side fail with a fatal alert if not common protocols are detected.
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(boolean clientFailIfNoCommonProtocols,
                                                   boolean serverFailIfNoCommonProtocols,
                                                   java.lang.String... protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        clientFailIfNoCommonProtocols - Client side fail with a fatal alert if not common protocols are detected.
        serverFailIfNoCommonProtocols - Server side fail with a fatal alert if not common protocols are detected.
        protocols - The order of iteration determines the preference of support for protocols.
      • JdkNpnApplicationProtocolNegotiator

        public JdkNpnApplicationProtocolNegotiator​(JdkApplicationProtocolNegotiator.ProtocolSelectorFactory selectorFactory,
                                                   JdkApplicationProtocolNegotiator.ProtocolSelectionListenerFactory listenerFactory,
                                                   java.lang.Iterable<java.lang.String> protocols)
        Deprecated.
        Create a new instance.
        Parameters:
        selectorFactory - The factory which provides classes responsible for selecting the protocol.
        listenerFactory - The factory which provides to be notified of which protocol was selected.
        protocols - The order of iteration determines the preference of support for protocols.