Package io.micronaut.aws.apigateway
Class HttpRequestStageResolver
java.lang.Object
io.micronaut.aws.apigateway.HttpRequestStageResolver
- All Implemented Interfaces:
StageResolver<io.micronaut.http.HttpRequest<?>>
@Requires(classes={io.micronaut.servlet.http.ServletHttpRequest.class,io.micronaut.http.HttpRequest.class})
@Singleton
public class HttpRequestStageResolver
extends Object
implements StageResolver<io.micronaut.http.HttpRequest<?>>
Amazon API Gateway Stage resolvers for an HTTP Request.
- Since:
- 3.10.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
HttpRequestStageResolver
public HttpRequestStageResolver()
-
-
Method Details
-
resolve
@NonNull public @NonNull Optional<String> resolve(@NonNull @NonNull io.micronaut.http.HttpRequest<?> request) - Specified by:
resolve
in interfaceStageResolver<io.micronaut.http.HttpRequest<?>>
-