Class Request

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

public final class Request extends Object
The Request object represents the incoming request to an handler.
  • Constructor Details

  • Method Details

    • invocationId

      public InvocationId invocationId()
      Returns:
      this invocation id.
    • otelContext

      public io.opentelemetry.context.Context otelContext()
      Returns:
      the attached OpenTelemetry Context.
    • body

      public byte[] body()
    • bodyBuffer

      public ByteBuffer bodyBuffer()
    • headers

      public Map<String,String> headers()
      Returns:
      the request headers, as received at the ingress.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object