@Singleton public class DefaultRequestEnvelopeService extends java.lang.Object implements RequestEnvelopeService
DefaultImplementation
of RequestEnvelopeService
.Constructor and Description |
---|
DefaultRequestEnvelopeService(java.util.List<com.amazon.ask.Skill> skills) |
Modifier and Type | Method and Description |
---|---|
com.amazon.ask.model.ResponseEnvelope |
process(@NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope) |
public DefaultRequestEnvelopeService(java.util.List<com.amazon.ask.Skill> skills)
skills
- List of available Skills@Nullable public com.amazon.ask.model.ResponseEnvelope process(@NonNull @NotNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope)
process
in interface RequestEnvelopeService
requestEnvelope
- The Request EnvelopeResponseEnvelope
after the request is processed or null
if no handling is possible.