Class DefaultRequestEnvelopeService

java.lang.Object
io.micronaut.aws.alexa.httpserver.services.DefaultRequestEnvelopeService
All Implemented Interfaces:
RequestEnvelopeService

@Singleton public class DefaultRequestEnvelopeService extends Object implements RequestEnvelopeService
DefaultImplementation of RequestEnvelopeService.
  • Constructor Details

    • DefaultRequestEnvelopeService

      public DefaultRequestEnvelopeService(List<com.amazon.ask.Skill> skills)
      Parameters:
      skills - List of available Skills
  • Method Details

    • process

      @Nullable public @Nullable com.amazon.ask.model.ResponseEnvelope process(@NonNull @NotNull @NonNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope)
      Specified by:
      process in interface RequestEnvelopeService
      Parameters:
      requestEnvelope - The Request Envelope
      Returns:
      A ResponseEnvelope after the request is processed or null if no handling is possible.