Package dev.restate.sdk.common
Class HandlerRequest
java.lang.Object
dev.restate.sdk.common.HandlerRequest
This class encapsulates the inputs to a handler.
-
Constructor Summary
ConstructorsConstructorDescriptionHandlerRequest
(InvocationId invocationId, io.opentelemetry.context.Context otelContext, Slice body, Map<String, String> headers) -
Method Summary
-
Constructor Details
-
HandlerRequest
public HandlerRequest(InvocationId invocationId, io.opentelemetry.context.Context otelContext, Slice body, Map<String, String> headers)
-
-
Method Details
-
invocationId
-
openTelemetryContext
public io.opentelemetry.context.Context openTelemetryContext() -
body
-
bodyAsByteArray
public byte[] bodyAsByteArray() -
bodyAsBodyBuffer
-
headers
-
equals
-
hashCode
public int hashCode() -
toString
-