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 Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable com.amazon.ask.model.ResponseEnvelope
process
(@NonNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope)
-
Constructor Details
-
DefaultRequestEnvelopeService
- 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 interfaceRequestEnvelopeService
- Parameters:
requestEnvelope
- The Request Envelope- Returns:
- A
ResponseEnvelope
after the request is processed ornull
if no handling is possible.
-