Class AppProtocol


  • public final class AppProtocol
    extends com.azure.core.util.ExpandableStringEnum<AppProtocol>
    Defines values for AppProtocol.
    • Field Detail

      • HTTP

        public static final AppProtocol HTTP
        Static value http for AppProtocol.
      • GRPC

        public static final AppProtocol GRPC
        Static value grpc for AppProtocol.
    • Constructor Detail

      • AppProtocol

        public AppProtocol()
    • Method Detail

      • fromString

        public static AppProtocol fromString​(String name)
        Creates or finds a AppProtocol from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding AppProtocol.
      • values

        public static Collection<AppProtocol> values()
        Gets known AppProtocol values.
        Returns:
        known AppProtocol values.