Class AppProtocol
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AppProtocol>
com.azure.resourcemanager.appcontainers.models.AppProtocol
Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AppProtocol
Static value grpc for AppProtocol.static final AppProtocol
Static value http for AppProtocol. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AppProtocol
fromString
(String name) Creates or finds a AppProtocol from its string representation.static Collection<AppProtocol>
values()
Gets known AppProtocol values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
HTTP
Static value http for AppProtocol. -
GRPC
Static value grpc for AppProtocol.
-
-
Constructor Details
-
AppProtocol
public AppProtocol()
-
-
Method Details
-
fromString
Creates or finds a AppProtocol from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AppProtocol.
-
values
Gets known AppProtocol values.- Returns:
- known AppProtocol values.
-