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, String serviceName, String handlerName) -
Method Summary
-
Constructor Details
-
HandlerRequest
-
-
Method Details
-
invocationId
-
openTelemetryContext
Deprecated, for removal: This API element is subject to removal in a future version.Use the newsdk-interceptor-opentelemetrymodule instead -
body
-
bodyAsByteArray
public byte[] bodyAsByteArray() -
bodyAsBodyBuffer
-
headers
-
serviceName
Name of the service being invoked. -
handlerName
Name of the handler being invoked. -
equals
-
hashCode
public int hashCode() -
toString
-
sdk-interceptor-opentelemetrymodule instead