Class TransportCandidate.Protocol

  • Enclosing class:
    TransportCandidate

    public static final class TransportCandidate.Protocol
    extends java.lang.Object
    Type-safe enum for the transportElement protocol.
    • Constructor Detail

      • Protocol

        public Protocol​(java.lang.String value)
    • Method Detail

      • toString

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

        public static TransportCandidate.Protocol fromString​(java.lang.String value)
        Returns the Protocol constant associated with the String value.
        Parameters:
        value - the input String.
        Returns:
        the protocol.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public boolean isNull()
        Return true if the protocol is not valid.
        Returns:
        true if the protocol is null