I - The request body typeO - The response body typepublic abstract class MicronautRequestHandler<I,O> extends AbstractFunctionExecutor<I,O,com.amazonaws.services.lambda.runtime.Context> implements com.amazonaws.services.lambda.runtime.RequestHandler<I,O>
An Amazon Lambda RequestHandler implementation for Micronaut FunctionBean
| Modifier and Type | Field and Description | 
|---|---|
protected ApplicationContext | 
applicationContext
The current  
ApplicationContext. | 
| Constructor and Description | 
|---|
MicronautRequestHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ApplicationContext | 
buildApplicationContext(com.amazonaws.services.lambda.runtime.Context context)  | 
O | 
handleRequest(I input,
             com.amazonaws.services.lambda.runtime.Context context)  | 
protected ExecutableMethod<Object,Object> | 
resolveFunction(LocalFunctionRegistry localFunctionRegistry,
               String functionName)
Resolve a function from the  
LocalFunctionRegistry. | 
protected String | 
resolveFunctionName(Environment env)
Resolves the function name to execution for the environment. 
 | 
protected Environment | 
startEnvironment(ApplicationContext applicationContext)
Start the environment specified. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteprotected ApplicationContext applicationContext
ApplicationContext.public final O handleRequest(I input, com.amazonaws.services.lambda.runtime.Context context)
protected ApplicationContext buildApplicationContext(com.amazonaws.services.lambda.runtime.Context context)
context - A platform specific context objectApplicationContext to useprotected ExecutableMethod<Object,Object> resolveFunction(LocalFunctionRegistry localFunctionRegistry, String functionName)
LocalFunctionRegistry.localFunctionRegistry - The LocalFunctionRegistryfunctionName - The function nameprotected String resolveFunctionName(Environment env)
env - The environmentprotected Environment startEnvironment(ApplicationContext applicationContext)
applicationContext - the application context with the environment