Enum StreamNegotiationResult

    • Enum Constant Detail

      • RESTART

        public static final StreamNegotiationResult RESTART
        The feature has been successfully negotiated and the stream now requires a restart.
      • INCOMPLETE

        public static final StreamNegotiationResult INCOMPLETE
        The feature negotiation is incomplete, i.e. it has only been partially negotiated.
      • IGNORE

        public static final StreamNegotiationResult IGNORE
        The feature will be ignored. Feature negotiation of the feature is either not initiated or aborted if it has already been started.
    • Method Detail

      • values

        public static StreamNegotiationResult[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StreamNegotiationResult c : StreamNegotiationResult.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreamNegotiationResult valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null