public abstract class SpeechletRequest extends Object
SpeechletV2 invocation.| Modifier and Type | Class and Description |
|---|---|
static class |
SpeechletRequest.SpeechletRequestBuilder<T extends SpeechletRequest.SpeechletRequestBuilder,S extends SpeechletRequest>
Builder used to construct a new
SpeechletRequest. |
| Modifier | Constructor and Description |
|---|---|
protected |
SpeechletRequest(SpeechletRequest.SpeechletRequestBuilder builder)
Private constructor to return a new
SpeechletRequest from a Builder. |
protected |
SpeechletRequest(String requestId,
Date timestamp,
Locale locale)
Constructs a new
SpeechletRequest with a request identifier and timestamp. |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale()
Returns the request locale.
|
String |
getRequestId()
Returns a unique request identifier.
|
Date |
getTimestamp()
Returns the request timestamp.
|
protected SpeechletRequest(SpeechletRequest.SpeechletRequestBuilder builder)
SpeechletRequest from a Builder.builder - the builder used to construct the SpeechletRequestprotected SpeechletRequest(String requestId, Date timestamp, Locale locale)
SpeechletRequest with a request identifier and timestamp.requestId - the unique identifier for the requesttimestamp - the timestamp for the requestlocale - the locale of the requestpublic final String getRequestId()
public final Date getTimestamp()
public final Locale getLocale()
Copyright © 2016. All rights reserved.