class HeaderTemplate extends Template {

  public static HeaderTemplate from(String name, List<TemplateChunk> chunks) {
    if (name == null || name.isEmpty()) {
      throw new IllegalArgumentException("name is required.");
    }

    if (chunks == null) {
      throw new IllegalArgumentException("chunks are required.");
    }

    return new HeaderTemplate(name, Util.UTF_8, chunks);
  }

  private  HeaderTemplate(String template, String name, Iterable<String> values, Charset charset);
  private  HeaderTemplate(String name, Charset charset, List<TemplateChunk> chunks);

}