Class Handler
java.lang.Object
io.micronaut.function.executor.AbstractExecutor
io.micronaut.function.executor.FunctionInitializer
io.micronaut.chatbots.telegram.googlecloud.Handler
- All Implemented Interfaces:
com.google.cloud.functions.HttpFunction
,io.micronaut.context.ApplicationContextProvider
,Closeable
,AutoCloseable
public class Handler
extends io.micronaut.function.executor.FunctionInitializer
implements com.google.cloud.functions.HttpFunction
HttpFunction
for Telegram Bot webhook.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.function.executor.FunctionInitializer
io.micronaut.function.executor.FunctionInitializer.ParseContext
-
Field Summary
Fields inherited from class io.micronaut.function.executor.FunctionInitializer
closeContext
Fields inherited from class io.micronaut.function.executor.AbstractExecutor
applicationContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(com.google.cloud.functions.HttpRequest request, com.google.cloud.functions.HttpResponse response) Methods inherited from class io.micronaut.function.executor.FunctionInitializer
close, injectThis, run, startThis
Methods inherited from class io.micronaut.function.executor.AbstractExecutor
buildApplicationContext, getApplicationContext, newApplicationContextBuilder, resolveFunction, resolveFunctionName, startEnvironment