@FunctionalInterface @DefaultImplementation(value=DefaultRequestEnvelopeService.class) public interface RequestEnvelopeService
RequestEnvelope
and returns a ResponseEnvelope
if it is capable of handling the request.Modifier and Type | Method and Description |
---|---|
com.amazon.ask.model.ResponseEnvelope |
process(@NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope) |
@Nullable com.amazon.ask.model.ResponseEnvelope process(@NonNull @NotNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope)
requestEnvelope
- The Request EnvelopeResponseEnvelope
after the request is processed or null
if no handling is possible.