Class SaslExtensions


  • public class SaslExtensions
    extends java.lang.Object
    A simple immutable value object class holding customizable SASL extensions
    • Constructor Summary

      Constructors 
      Constructor Description
      SaslExtensions​(java.util.Map<java.lang.String,​java.lang.String> extensionsMap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.util.Map<java.lang.String,​java.lang.String> map()
      Returns an immutable map of the extension names and their values
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • NO_SASL_EXTENSIONS

        public static final SaslExtensions NO_SASL_EXTENSIONS
        An "empty" instance indicating no SASL extensions
    • Constructor Detail

      • SaslExtensions

        public SaslExtensions​(java.util.Map<java.lang.String,​java.lang.String> extensionsMap)
    • Method Detail

      • map

        public java.util.Map<java.lang.String,​java.lang.String> map()
        Returns an immutable map of the extension names and their values
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object