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.
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 TypeMethodDescriptionvoiddoFilter(BotRequest botRequest, BotResponse botResponse) Invokes the next filter or the dispatcher in the chain.
-
Method Details
-
doFilter
Invokes the next filter or the dispatcher in the chain.- Parameters:
botRequest- the current request context; must not benullbotResponse- the mutable response object; must not benull
-