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.ResponseEnvelopeprocess(@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
ResponseEnvelopeafter the request is processed ornullif no handling is possible.
-