Support to convert the existed REST controllers to a function-based application
Is your feature request related to a problem? Please describe. Spring boot applications with REST controllers are very popular. How easy to convert these controllers to function-based application will help lots of team moving to serverless architecture. The current start() function in FunctionInvoker currently support only to load function beans to spring context and then use these function beans to process requests in the handleRequest(). There is no support to forward function-based messages to a DispatcherServlet
Describe the solution you'd like Detect if WebApplicationContext is present then convert the InputStream to HttpRequest, and outputStream to ServerHttpResponse
Describe alternatives you've considered
Additional context