Class Handler

  • All Implemented Interfaces:
    com.google.cloud.functions.HttpFunction, io.micronaut.context.ApplicationContextProvider, java.io.Closeable, java.lang.AutoCloseable

    public class Handler
    extends io.micronaut.function.executor.FunctionInitializer
    implements com.google.cloud.functions.HttpFunction
    HttpFunction for Basecamp 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

      Constructors 
      Constructor Description
      Handler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Handler

        public Handler()
    • Method Detail

      • service

        public void service​(com.google.cloud.functions.HttpRequest request,
                            com.google.cloud.functions.HttpResponse response)
                     throws java.lang.Exception
        Specified by:
        service in interface com.google.cloud.functions.HttpFunction
        Throws:
        java.lang.Exception