Uses of Class
com.fortemate.dicechess.runtime.WebhookHandler
-
Uses of WebhookHandler in com.fortemate.dicechess.runtime
Methods in com.fortemate.dicechess.runtime with parameters of type WebhookHandlerModifier and TypeMethodDescriptionstatic HttpServerCustomHandlerServer.start(int port, String path, WebhookHandler handler) Starts the server on an explicit port and path.static HttpServerCustomHandlerServer.start(int port, String path, WebhookHandler handler, AtomicBoolean isDraining) Starts the server on an explicit port and path with a shared drain flag.static HttpServerCustomHandlerServer.startFromEnvironment(WebhookHandler handler) Starts the server on the port named byFUNCTIONS_CUSTOMHANDLER_PORT(default8080), servinghandlerat/api/webhook, and attaches a SIGTERM shutdown hook using environment variables.Constructors in com.fortemate.dicechess.runtime with parameters of type WebhookHandlerModifierConstructorDescriptionWebhookHandler(WebhookHandler source, ResignPolicy resignPolicy) Creates a handler identical tosourceexcept for its resign policy.