Package com.nexmo.client.voice.servlet
Class NccoResponse
- java.lang.Object
-
- com.nexmo.client.voice.servlet.NccoResponse
-
public class NccoResponse extends java.lang.Object
Encapsulates a set of NCCO objects for driving the Nexmo Voice API.This would usually be returned by
AbstractAnswerServlet.handleRequest(HttpServletRequest)
, which serializes it correctly for the Voice API.NccoResponseBuilder
provides a fluent interface for constructing instances of this class.
-
-
Constructor Summary
Constructors Constructor Description NccoResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendNcco(Action action)
java.lang.String
toJson()
-
-
-
Constructor Detail
-
NccoResponse
public NccoResponse()
-
-
Method Detail
-
appendNcco
public void appendNcco(Action action)
-
toJson
public java.lang.String toJson()
-
-