Class HandlerRequest

java.lang.Object
dev.restate.sdk.common.HandlerRequest

public final class HandlerRequest extends Object
This class encapsulates the inputs to a handler.
  • Constructor Details

  • Method Details

    • invocationId

      public InvocationId invocationId()
    • openTelemetryContext

      @Deprecated(forRemoval=true) public io.opentelemetry.context.Context openTelemetryContext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use the new sdk-interceptor-opentelemetry module instead
    • body

      public Slice body()
    • bodyAsByteArray

      public byte[] bodyAsByteArray()
    • bodyAsBodyBuffer

      public ByteBuffer bodyAsBodyBuffer()
    • headers

      public Map<String,String> headers()
    • serviceName

      public String serviceName()
      Name of the service being invoked.
    • handlerName

      public String handlerName()
      Name of the handler being invoked.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object