Class NccoResponseBuilder

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

public class NccoResponseBuilder
extends java.lang.Object
Provides a fluent interface for constructing instances of NccoResponse.

Currently, an NccoResponse consists of a flat series of Ncco objects which are implemented sequentially (except for NCCOs where bargeIn is set to true, when more than one NCCO can be executed in parallel).

  • Constructor Summary

    Constructors 
    Constructor Description
    NccoResponseBuilder()  
  • Method Summary

    Modifier and Type Method Description
    NccoResponseBuilder appendNcco​(Action action)  
    NccoResponse getValue()  

    Methods inherited from class java.lang.Object

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