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 Details

    • HttpRequestStageResolver

      public HttpRequestStageResolver()
  • Method Details

    • resolve

      @NonNull public @NonNull Optional<String> resolve(@NonNull @NonNull io.micronaut.http.HttpRequest<?> request)
      Specified by:
      resolve in interface StageResolver<io.micronaut.http.HttpRequest<?>>