Interface Handler<CTX extends Context,REQ extends Request<CTX>,RESP extends Response>

Type Parameters:
CTX - context
REQ - request
RESP - response
All Known Subinterfaces:
AttachmentActionHandler, BlockActionHandler, BlockSuggestionHandler, DialogCancellationHandler, DialogSubmissionHandler, DialogSuggestionHandler, GlobalShortcutHandler, MessageShortcutHandler, SlashCommandHandler, ViewClosedHandler, ViewSubmissionHandler, WorkflowStepEditHandler, WorkflowStepExecuteHandler, WorkflowStepSaveHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Handler<CTX extends Context,REQ extends Request<CTX>,RESP extends Response>
Slack App Handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(REQ req, CTX context)
    A function returns a response corresponding to the given request and its context.