public class MicronautRequestStreamHandler extends io.micronaut.function.executor.StreamFunctionExecutor<com.amazonaws.services.lambda.runtime.Context> implements com.amazonaws.services.lambda.runtime.RequestStreamHandler, MicronautLambdaContext
An implementation of the RequestStreamHandler
for Micronaut
Modifier and Type | Field and Description |
---|---|
protected io.micronaut.context.ApplicationContext |
applicationContext |
ENVIRONMENT_LAMBDA
Constructor and Description |
---|
MicronautRequestStreamHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected io.micronaut.context.ApplicationContext |
buildApplicationContext(com.amazonaws.services.lambda.runtime.Context context) |
void |
handleRequest(java.io.InputStream input,
java.io.OutputStream output,
com.amazonaws.services.lambda.runtime.Context context) |
protected io.micronaut.context.ApplicationContextBuilder |
newApplicationContextBuilder() |
protected io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> |
resolveFunction(io.micronaut.function.LocalFunctionRegistry arg0,
java.lang.String arg1) |
protected java.lang.String |
resolveFunctionName(io.micronaut.context.env.Environment env) |
protected io.micronaut.context.env.Environment |
startEnvironment(io.micronaut.context.ApplicationContext arg0) |
protected io.micronaut.context.ApplicationContext applicationContext
public MicronautRequestStreamHandler()
public void handleRequest(java.io.InputStream input, java.io.OutputStream output, com.amazonaws.services.lambda.runtime.Context context) throws java.io.IOException
handleRequest
in interface com.amazonaws.services.lambda.runtime.RequestStreamHandler
java.io.IOException
protected io.micronaut.context.ApplicationContext buildApplicationContext(com.amazonaws.services.lambda.runtime.Context context)
@Nonnull protected io.micronaut.context.ApplicationContextBuilder newApplicationContextBuilder()
protected java.lang.String resolveFunctionName(io.micronaut.context.env.Environment env)
protected io.micronaut.inject.ExecutableMethod<java.lang.Object,java.lang.Object> resolveFunction(io.micronaut.function.LocalFunctionRegistry arg0, java.lang.String arg1)
protected io.micronaut.context.env.Environment startEnvironment(io.micronaut.context.ApplicationContext arg0)