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
getName()
int
hashCode()
static <T,
R> HandlerSpecification <T, R> of
(String method, HandlerType handlerType, Serde<T> requestSerde, Serde<R> responseSerde) toString()
withAcceptContentType
(String acceptContentType)
-
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
-
withAcceptContentType
-
equals
-
hashCode
public int hashCode() -
toString
-