Package dev.restate.sdk.common.syscalls
Class HandlerSpecification<REQ,RES>
java.lang.Object
dev.restate.sdk.common.syscalls.HandlerSpecification<REQ,RES>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable String
@Nullable String
getName()
int
hashCode()
static <T,
R> HandlerSpecification <T, R> of
(String method, HandlerType handlerType, Serde<T> requestSerde, Serde<R> responseSerde) toString()
withAcceptContentType
(String acceptContentType) withDocumentation
(@Nullable String documentation) withMetadata
(Map<String, String> metadata)
-
Method Details
-
of
public static <T,R> HandlerSpecification<T,R> of(String method, HandlerType handlerType, Serde<T> requestSerde, Serde<R> responseSerde) -
getName
-
getHandlerType
-
getAcceptContentType
-
getRequestSerde
-
getResponseSerde
-
getDocumentation
-
getMetadata
-
withAcceptContentType
-
withDocumentation
-
withMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-