Class JdkAlpnApplicationProtocolNegotiator

    • Constructor Detail

      • JdkAlpnApplicationProtocolNegotiator

        public JdkAlpnApplicationProtocolNegotiator​(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.
      • JdkAlpnApplicationProtocolNegotiator

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

        public JdkAlpnApplicationProtocolNegotiator​(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.
      • JdkAlpnApplicationProtocolNegotiator

        public JdkAlpnApplicationProtocolNegotiator​(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.
      • JdkAlpnApplicationProtocolNegotiator

        public JdkAlpnApplicationProtocolNegotiator​(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.
      • JdkAlpnApplicationProtocolNegotiator

        public JdkAlpnApplicationProtocolNegotiator​(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.
      • JdkAlpnApplicationProtocolNegotiator

        public JdkAlpnApplicationProtocolNegotiator​(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.