| Package | Description |
|---|---|
| com.github.kshashov.telegram.handler | |
| com.github.kshashov.telegram.handler.processor | |
| com.github.kshashov.telegram.metrics |
| Modifier and Type | Method and Description |
|---|---|
HandlerMethod |
HandlerMethodContainer.registerController(@NotNull Object bean,
@NotNull Method method,
@NotNull List<RequestMappingInfo> mappingInfo) |
HandlerMethod |
HandlerMethodContainer.registerController(@NotNull Object bean,
@NotNull Method method,
@NotNull List<RequestMappingInfo> mappingInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
TelegramInvocableHandlerMethod
Extension of
HandlerMethod that invokes the underlying method with argument values resolved from the current
telegram request through a list of BotHandlerMethodArgumentResolver and then resolves the return value with a
list of BotHandlerMethodReturnValueHandler. |
| Constructor and Description |
|---|
TelegramInvocableHandlerMethod(@NotNull HandlerMethod handlerMethod,
@NotNull BotHandlerMethodArgumentResolver argumentResolver,
@NotNull BotHandlerMethodReturnValueHandler returnValueHandler)
Create an instance from a bean instance and a method.
|
TelegramInvocableHandlerMethod(@NotNull HandlerMethod handlerMethod,
@NotNull BotHandlerMethodArgumentResolver argumentResolver,
@NotNull BotHandlerMethodReturnValueHandler returnValueHandler)
Create an instance from a bean instance and a method.
|
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.Timer.Context |
MetricsService.onMethodHandlerStarted(HandlerMethod method)
Started times associated with method.
|
com.codahale.metrics.Timer.Context |
MetricsService.onMethodHandlerStarted(HandlerMethod method)
Started times associated with method.
|
void |
MetricsService.onUpdateError(HandlerMethod method)
Updates
MetricsService.HANDLER_ERRORS metric. |
void |
MetricsService.onUpdateError(HandlerMethod method)
Updates
MetricsService.HANDLER_ERRORS metric. |
void |
MetricsService.onUpdateSuccess(HandlerMethod method,
com.codahale.metrics.Timer.Context timerContext)
Updates
MetricsService.HANDLER_SUCCESSES and MetricsService.HANDLER_EXECUTION_TIME metric. |
void |
MetricsService.onUpdateSuccess(HandlerMethod method,
com.codahale.metrics.Timer.Context timerContext)
Updates
MetricsService.HANDLER_SUCCESSES and MetricsService.HANDLER_EXECUTION_TIME metric. |
void |
MetricsService.registerHandlerMethod(HandlerMethod method)
Creates handler related metrics.
|
void |
MetricsService.registerHandlerMethod(HandlerMethod method)
Creates handler related metrics.
|
Copyright © 2022. All rights reserved.