Class NccoResponse

java.lang.Object
com.vonage.client.voice.servlet.NccoResponse

public class NccoResponse
extends java.lang.Object
Encapsulates a set of NCCO objects for driving the Vonage 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

    Modifier and Type Method Description
    void appendNcco​(Action action)  
    java.lang.String toJson()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait