ApplicationIdSpeechletRequestEnvelopeVerifier instead. This version does not
look in the Context for applicationId.@Deprecated public class ApplicationIdSpeechletRequestVerifier extends Object implements SpeechletRequestVerifier
| Constructor and Description |
|---|
ApplicationIdSpeechletRequestVerifier(Set<String> supportedApplicationIds)
Deprecated.
Constructs a new application ID verifier with the provided set of supported application IDs.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSupportedApplicationIds()
Deprecated.
|
boolean |
verify(SpeechletRequest request,
Session session)
Deprecated.
Returns true if the provided
applicationId is supported by this verifier. |
public ApplicationIdSpeechletRequestVerifier(Set<String> supportedApplicationIds)
supportedApplicationIds - a set of application IDs supported by the servicepublic boolean verify(SpeechletRequest request, Session session)
applicationId is supported by this verifier. If this
verifier was constructed from an empty set of supported applicationIds, this method
returns true for any application ID (including null values). Otherwise, this method returns
true only if the SpeechletRequest's applicationId is supported. If any of
Session, Session.getApplication(), or Application.getApplicationId()
is null, this method returns false, unless the SpeechletRequest is of a type
that does not have a Session.verify in interface SpeechletRequestVerifierrequest - SpeechletRequest to verifysession - Session context within which to verify the callCopyright © 2016. All rights reserved.