diff --git a/README.md b/README.md index 7f129d41a..1a1dc271d 100644 --- a/README.md +++ b/README.md @@ -60,25 +60,25 @@ For a Maven project, add the following to your `pom.xml` file: io.dapr dapr-sdk - 0.6.0 + 0.7.0 io.dapr dapr-sdk-actors - 0.6.0 + 0.7.0 io.dapr dapr-sdk-springboot - 0.6.0 + 0.7.0 com.squareup.okhttp3 okhttp - 4.2.2 + 0.7.0 ... @@ -106,11 +106,11 @@ repositories { dependencies { ... // Dapr's core SDK with all features, except Actors. - compile('io.dapr:dapr-sdk:0.6.0') + compile('io.dapr:dapr-sdk:0.7.0') // Dapr's SDK for Actors (optional). - compile('io.dapr:dapr-sdk-actors:0.6.0') + compile('io.dapr:dapr-sdk-actors:0.7.0') // Dapr's SDK integration with SpringBoot (optional). - compile('io.dapr:dapr-sdk-springboot:0.6.0') + compile('io.dapr:dapr-sdk-springboot:0.7.0') // If needed, force conflict resolution for okhttp3. configurations.all { diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html index 7676cf546..32972eed9 100644 --- a/docs/allclasses-index.html +++ b/docs/allclasses-index.html @@ -2,10 +2,10 @@ - -All Classes (dapr-sdk-parent 0.6.0 API) + +All Classes (dapr-sdk-parent 0.7.0 API) - + @@ -20,7 +20,7 @@ - - - - - - - + + + + + + + + + +
+ +
+ +
+
+
Package io.dapr.utils
+

Class TypeRef<T>

+
+
+
java.lang.Object +
io.dapr.utils.TypeRef<T>
+
+
+
+
Type Parameters:
+
T - Type to be deserialized.
+
+
+
public abstract class TypeRef<T>
+extends java.lang.Object
+
Used to reference a type. + +

Usage: new TypeRef<MyClass>(){}

+
+
+
    + +
  • +
    + + +

    Field Summary

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Fields 
    Modifier and TypeFieldDescription
    static TypeRef<java.lang.Boolean>BOOLEAN 
    static TypeRef<java.lang.Byte>BYTE 
    static TypeRef<byte[]>BYTE_ARRAY 
    static TypeRef<java.lang.Character>CHAR 
    static TypeRef<java.lang.Double>DOUBLE 
    static TypeRef<java.lang.Float>FLOAT 
    static TypeRef<java.lang.Integer>INT 
    static TypeRef<int[]>INT_ARRAY 
    static TypeRef<java.lang.Long>LONG 
    static TypeRef<java.lang.String>STRING 
    static TypeRef<java.lang.String[]>STRING_ARRAY 
    static TypeRef<java.lang.Void>VOID 
    +
    +
    +
  • + +
  • +
    + + +

    Constructor Summary

    +
    + + + + + + + + + + + + + + +
    Constructors 
    ConstructorDescription
    TypeRef() +
    Constructor.
    +
    +
    +
    +
  • + +
  • +
    + + +

    Method Summary

    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + +
    Modifier and TypeMethodDescription
    static <T> TypeRef<T>get​(java.lang.Class<T> clazz) +
    Creates a reference to a given class type.
    +
    java.lang.reflect.TypegetType() +
    Gets the type referenced.
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    + + +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    + + +

    Field Details

    +
      +
    • +
      +

      STRING

      +
      public static final TypeRef<java.lang.String> STRING
      +
      +
    • +
    • +
      +

      BOOLEAN

      +
      public static final TypeRef<java.lang.Boolean> BOOLEAN
      +
      +
    • +
    • +
      +

      INT

      +
      public static final TypeRef<java.lang.Integer> INT
      +
      +
    • +
    • +
      +

      LONG

      +
      public static final TypeRef<java.lang.Long> LONG
      +
      +
    • +
    • +
      +

      CHAR

      +
      public static final TypeRef<java.lang.Character> CHAR
      +
      +
    • +
    • +
      +

      BYTE

      +
      public static final TypeRef<java.lang.Byte> BYTE
      +
      +
    • +
    • +
      +

      VOID

      +
      public static final TypeRef<java.lang.Void> VOID
      +
      +
    • +
    • +
      +

      FLOAT

      +
      public static final TypeRef<java.lang.Float> FLOAT
      +
      +
    • +
    • +
      +

      DOUBLE

      +
      public static final TypeRef<java.lang.Double> DOUBLE
      +
      +
    • +
    • +
      +

      BYTE_ARRAY

      +
      public static final TypeRef<byte[]> BYTE_ARRAY
      +
      +
    • +
    • +
      +

      INT_ARRAY

      +
      public static final TypeRef<int[]> INT_ARRAY
      +
      +
    • +
    • +
      +

      STRING_ARRAY

      +
      public static final TypeRef<java.lang.String[]> STRING_ARRAY
      +
      +
    • +
    +
    +
  • + +
  • +
    + + +

    Constructor Details

    +
      +
    • +
      +

      TypeRef

      +
      public TypeRef()
      +
      Constructor.
      +
      +
    • +
    +
    +
  • + +
  • +
    + + +

    Method Details

    +
      +
    • +
      +

      getType

      +
      public java.lang.reflect.Type getType()
      +
      Gets the type referenced.
      +
      +
      Returns:
      +
      type referenced.
      +
      +
      +
    • +
    • +
      +

      get

      +
      public static <T> TypeRef<T> get​(java.lang.Class<T> clazz)
      +
      Creates a reference to a given class type.
      +
      +
      Type Parameters:
      +
      T - Type to be referenced.
      +
      Parameters:
      +
      clazz - Class type to be referenced.
      +
      Returns:
      +
      Class type reference.
      +
      +
      +
    • +
    +
    +
  • +
+
+
+
+ + + + diff --git a/docs/io/dapr/utils/class-use/Constants.html b/docs/io/dapr/utils/class-use/Constants.html index 6fe402c32..488e0540a 100644 --- a/docs/io/dapr/utils/class-use/Constants.html +++ b/docs/io/dapr/utils/class-use/Constants.html @@ -2,10 +2,10 @@ - -Uses of Class io.dapr.utils.Constants (dapr-sdk-parent 0.6.0 API) + +Uses of Class io.dapr.utils.Constants (dapr-sdk-parent 0.7.0 API) - + diff --git a/docs/io/dapr/utils/class-use/DurationUtils.html b/docs/io/dapr/utils/class-use/DurationUtils.html index 56c159402..281d5e328 100644 --- a/docs/io/dapr/utils/class-use/DurationUtils.html +++ b/docs/io/dapr/utils/class-use/DurationUtils.html @@ -2,10 +2,10 @@ - -Uses of Class io.dapr.utils.DurationUtils (dapr-sdk-parent 0.6.0 API) + +Uses of Class io.dapr.utils.DurationUtils (dapr-sdk-parent 0.7.0 API) - + diff --git a/docs/io/dapr/utils/class-use/Properties.html b/docs/io/dapr/utils/class-use/Properties.html index e96ec9a10..051c302aa 100644 --- a/docs/io/dapr/utils/class-use/Properties.html +++ b/docs/io/dapr/utils/class-use/Properties.html @@ -2,10 +2,10 @@ - -Uses of Class io.dapr.utils.Properties (dapr-sdk-parent 0.6.0 API) + +Uses of Class io.dapr.utils.Properties (dapr-sdk-parent 0.7.0 API) - + diff --git a/docs/io/dapr/utils/class-use/TypeRef.html b/docs/io/dapr/utils/class-use/TypeRef.html new file mode 100644 index 000000000..37a508293 --- /dev/null +++ b/docs/io/dapr/utils/class-use/TypeRef.html @@ -0,0 +1,649 @@ + + + + + +Uses of Class io.dapr.utils.TypeRef (dapr-sdk-parent 0.7.0 API) + + + + + + + + + + + + + + + + +
+ +
+
+
+

Uses of Class
io.dapr.utils.TypeRef

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages that use TypeRef 
PackageDescription
io.dapr.actors.client 
io.dapr.actors.runtime 
io.dapr.client 
io.dapr.serializer 
io.dapr.utils 
+
+
+
    +
  • +
    + + +

    Uses of TypeRef in io.dapr.actors.client

    +
    + + + + + + + + + + + + + + + + + + + + + +
    Methods in io.dapr.actors.client with parameters of type TypeRef 
    Modifier and TypeMethodDescription
    <T> reactor.core.publisher.Mono<T>ActorProxy.invokeActorMethod​(java.lang.String methodName, +TypeRef<T> type) +
    Invokes an Actor method on Dapr.
    +
    <T> reactor.core.publisher.Mono<T>ActorProxy.invokeActorMethod​(java.lang.String methodName, +java.lang.Object data, +TypeRef<T> type) +
    Invokes an Actor method on Dapr.
    +
    +
    +
    +
  • +
  • +
    + + +

    Uses of TypeRef in io.dapr.actors.runtime

    +
    + + + + + + + + + + + + + + + + +
    Methods in io.dapr.actors.runtime that return TypeRef 
    Modifier and TypeMethodDescription
    TypeRef<T>Remindable.getStateType() +
    Gets the type for state object.
    +
    +
    +
    + + + + + + + + + + + + + + + + +
    Methods in io.dapr.actors.runtime with parameters of type TypeRef 
    Modifier and TypeMethodDescription
    <T> reactor.core.publisher.Mono<T>ActorStateManager.get​(java.lang.String stateName, +TypeRef<T> type) +
    Fetches the most recent value for the given state, including cached value.
    +
    +
    +
    +
  • +
  • +
    + + +

    Uses of TypeRef in io.dapr.client

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Methods in io.dapr.client with parameters of type TypeRef 
    Modifier and TypeMethodDescription
    <T> TObjectSerializer.deserialize​(byte[] content, +TypeRef<T> type) +
    Deserializes the byte array into the original object.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClient.getState​(java.lang.String stateStoreName, +State<T> state, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClient.getState​(java.lang.String stateStoreName, +java.lang.String key, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClient.getState​(java.lang.String stateStoreName, +java.lang.String key, +java.lang.String etag, +StateOptions options, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientGrpc.getState​(java.lang.String stateStoreName, +State<T> state, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientGrpc.getState​(java.lang.String stateStoreName, +java.lang.String key, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientGrpc.getState​(java.lang.String stateStoreName, +java.lang.String key, +java.lang.String etag, +StateOptions options, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientHttp.getState​(java.lang.String stateStoreName, +State<T> state, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientHttp.getState​(java.lang.String stateStoreName, +java.lang.String key, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<State<T>>DaprClientHttp.getState​(java.lang.String stateStoreName, +java.lang.String key, +java.lang.String etag, +StateOptions options, +TypeRef<T> type) +
    Retrieve a State based on their key.
    +
    <T> reactor.core.publisher.Mono<T>DaprClient.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClient.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientGrpc.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientGrpc.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientHttp.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientHttp.invokeBinding​(java.lang.String name, +java.lang.String operation, +java.lang.Object data, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invokes a Binding operation.
    +
    <T> reactor.core.publisher.Mono<T>DaprClient.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +TypeRef<T> type) +
    Invoke a service without metadata, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClient.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service with all possible parameters, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClient.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service without input, using serialization for response.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientGrpc.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +TypeRef<T> type) +
    Invoke a service without metadata, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientGrpc.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service with all possible parameters, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientGrpc.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service without input, using serialization for response.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientHttp.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +TypeRef<T> type) +
    Invoke a service without metadata, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientHttp.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.lang.Object request, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service with all possible parameters, using serialization.
    +
    <T> reactor.core.publisher.Mono<T>DaprClientHttp.invokeService​(Verb verb, +java.lang.String appId, +java.lang.String method, +java.util.Map<java.lang.String,​java.lang.String> metadata, +TypeRef<T> type) +
    Invoke a service without input, using serialization for response.
    +
    +
    +
    +
  • +
  • +
    + + +

    Uses of TypeRef in io.dapr.serializer

    +
    + + + + + + + + + + + + + + + + + + + + + +
    Methods in io.dapr.serializer with parameters of type TypeRef 
    Modifier and TypeMethodDescription
    <T> TDaprObjectSerializer.deserialize​(byte[] data, +TypeRef<T> type) +
    Deserializes the given byte[] into a object.
    +
    <T> TDefaultObjectSerializer.deserialize​(byte[] data, +TypeRef<T> type) +
    Deserializes the byte array into the original object.
    +
    +
    +
    +
  • +
  • +
    + + +

    Uses of TypeRef in io.dapr.utils

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Fields in io.dapr.utils declared as TypeRef 
    Modifier and TypeFieldDescription
    static TypeRef<java.lang.Boolean>TypeRef.BOOLEAN 
    static TypeRef<java.lang.Byte>TypeRef.BYTE 
    static TypeRef<byte[]>TypeRef.BYTE_ARRAY 
    static TypeRef<java.lang.Character>TypeRef.CHAR 
    static TypeRef<java.lang.Double>TypeRef.DOUBLE 
    static TypeRef<java.lang.Float>TypeRef.FLOAT 
    static TypeRef<java.lang.Integer>TypeRef.INT 
    static TypeRef<int[]>TypeRef.INT_ARRAY 
    static TypeRef<java.lang.Long>TypeRef.LONG 
    static TypeRef<java.lang.String>TypeRef.STRING 
    static TypeRef<java.lang.String[]>TypeRef.STRING_ARRAY 
    static TypeRef<java.lang.Void>TypeRef.VOID 
    +
    +
    + + + + + + + + + + + + + + + + +
    Methods in io.dapr.utils that return TypeRef 
    Modifier and TypeMethodDescription
    static <T> TypeRef<T>TypeRef.get​(java.lang.Class<T> clazz) +
    Creates a reference to a given class type.
    +
    +
    +
    +
  • +
+
+
+
+ + + diff --git a/docs/io/dapr/utils/package-summary.html b/docs/io/dapr/utils/package-summary.html index b54d6d362..dbd46e59a 100644 --- a/docs/io/dapr/utils/package-summary.html +++ b/docs/io/dapr/utils/package-summary.html @@ -2,10 +2,10 @@ - -io.dapr.utils (dapr-sdk-parent 0.6.0 API) + +io.dapr.utils (dapr-sdk-parent 0.7.0 API) - + @@ -99,6 +99,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
Global properties for Dapr's SDK, using Supplier so they are dynamically resolved.
+ +TypeRef<T> + +
Used to reference a type.
+ + diff --git a/docs/io/dapr/utils/package-tree.html b/docs/io/dapr/utils/package-tree.html index eeb911591..f980b3b79 100644 --- a/docs/io/dapr/utils/package-tree.html +++ b/docs/io/dapr/utils/package-tree.html @@ -2,10 +2,10 @@ - -io.dapr.utils Class Hierarchy (dapr-sdk-parent 0.6.0 API) + +io.dapr.utils Class Hierarchy (dapr-sdk-parent 0.7.0 API) - + @@ -82,6 +82,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
  • io.dapr.utils.Constants
  • io.dapr.utils.DurationUtils
  • io.dapr.utils.Properties
  • +
  • io.dapr.utils.TypeRef<T>
  • diff --git a/docs/io/dapr/utils/package-use.html b/docs/io/dapr/utils/package-use.html index 16089c1ea..d80c00a73 100644 --- a/docs/io/dapr/utils/package-use.html +++ b/docs/io/dapr/utils/package-use.html @@ -2,10 +2,10 @@ - -Uses of Package io.dapr.utils (dapr-sdk-parent 0.6.0 API) + +Uses of Package io.dapr.utils (dapr-sdk-parent 0.7.0 API) - + @@ -69,7 +69,170 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));

    Uses of Package
    io.dapr.utils

    -
    No usage of io.dapr.utils
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Packages that use io.dapr.utils 
    PackageDescription
    io.dapr.actors.client 
    io.dapr.actors.runtime 
    io.dapr.client 
    io.dapr.serializer 
    io.dapr.utils 
    +
    +
    + +
    +