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

      public io.opentelemetry.context.Context openTelemetryContext()
    • body

      public Slice body()
    • bodyAsByteArray

      public byte[] bodyAsByteArray()
    • bodyAsBodyBuffer

      public ByteBuffer bodyAsBodyBuffer()
    • headers

      public Map<String,String> headers()
    • 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