Interface RequestEnvelopeService
- All Known Implementing Classes:
DefaultRequestEnvelopeService
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@DefaultImplementation(DefaultRequestEnvelopeService.class)
public interface RequestEnvelopeService
Process a
RequestEnvelope
and returns a ResponseEnvelope
if it is capable of handling the request.- Since:
- 2.0.0
- Author:
- sdelamo
-
Method Summary
Modifier and TypeMethodDescription@Nullable com.amazon.ask.model.ResponseEnvelope
process
(@NonNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope)
-
Method Details
-
process
@Nullable @Nullable com.amazon.ask.model.ResponseEnvelope process(@NonNull @NotNull @NonNull @NotNull com.amazon.ask.model.RequestEnvelope requestEnvelope) - Parameters:
requestEnvelope
- The Request Envelope- Returns:
- A
ResponseEnvelope
after the request is processed ornull
if no handling is possible.
-