public class ResponseParser
extends java.lang.Object
AvsResponse item with all the directives matched to their audio streams.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
ResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
static AvsResponse |
parseResponse(java.io.InputStream stream,
java.lang.String boundary)
Get the AvsItem associated with a Alexa API post/get, this will contain a list of
AvsItem directives,
if applicable. |
public static final java.lang.String TAG
public static AvsResponse parseResponse(java.io.InputStream stream, java.lang.String boundary) throws java.io.IOException, java.lang.IllegalStateException, AvsException
AvsItem directives,
if applicable.stream - the input stream as a result of our OkHttp post/get callsboundary - the boundary we're using to separate the multipartsjava.io.IOExceptionjava.lang.IllegalStateExceptionAvsException