All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.voxeo.tropo.actions.AnswerAction Maven / Gradle / Ivy

package com.voxeo.tropo.actions;

import com.voxeo.tropo.Key;
import com.voxeo.tropo.annotations.ValidKeys;

import support.HeadersSupportHandler;

@ValidKeys(keys = {"headers"})
public class AnswerAction extends JsonAction {

  private HeadersSupportHandler headersSupportHandler = new HeadersSupportHandler();

  public AnswerAction() {

    super();
    setName("answer");
  }

  public AnswerAction(Key... keys) {

    super(keys);
    setName("answer");
  }

  public HeadersAction headers(String[]... keys) {

    return headersSupportHandler.headers(this, keys);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy