Interface BotFilterChain

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 BotFilterChain
Contract for advancing the bot filter/handler chain.

Implementations pass control to the next element in the processing pipeline (either the next BotFilter or the final dispatcher).

Since:
0.0.1
Author:
Islom Mirsaburov
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doFilter(BotRequest botRequest, BotResponse botResponse)
    Invokes the next filter or the dispatcher in the chain.
  • Method Details

    • doFilter

      void doFilter(BotRequest botRequest, BotResponse botResponse)
      Invokes the next filter or the dispatcher in the chain.
      Parameters:
      botRequest - the current request context; must not be null
      botResponse - the mutable response object; must not be null