Class Properties

java.lang.Object
io.dapr.config.Properties

public class Properties
extends java.lang.Object
Global properties for Dapr's SDK, using Supplier so they are dynamically resolved.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static Property<java.lang.String> API_TOKEN
    API token for authentication between App and Dapr's side car.
    static Property<java.lang.Integer> GRPC_PORT
    GRPC port for Dapr after checking system property and environment variable.
    static Property<java.lang.Integer> HTTP_PORT
    HTTP port for Dapr after checking system property and environment variable.
    static Property<java.lang.String> SIDECAR_IP
    IP for Dapr's sidecar.
    static Property<java.nio.charset.Charset> STRING_CHARSET
    Determines which string encoding is used in Dapr's Java SDK.
    static Property<java.lang.Boolean> USE_GRPC
    Determines if Dapr client will use GRPC to talk to Dapr's side car.
  • Constructor Summary

    Constructors 
    Constructor Description
    Properties()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SIDECAR_IP

      public static final Property<java.lang.String> SIDECAR_IP
      IP for Dapr's sidecar.
    • HTTP_PORT

      public static final Property<java.lang.Integer> HTTP_PORT
      HTTP port for Dapr after checking system property and environment variable.
    • GRPC_PORT

      public static final Property<java.lang.Integer> GRPC_PORT
      GRPC port for Dapr after checking system property and environment variable.
    • USE_GRPC

      public static final Property<java.lang.Boolean> USE_GRPC
      Determines if Dapr client will use GRPC to talk to Dapr's side car.
    • API_TOKEN

      public static final Property<java.lang.String> API_TOKEN
      API token for authentication between App and Dapr's side car.
    • STRING_CHARSET

      public static final Property<java.nio.charset.Charset> STRING_CHARSET
      Determines which string encoding is used in Dapr's Java SDK.
  • Constructor Details