001/*
002 * The contents of this file are subject to the license and copyright
003 * detailed in the LICENSE and NOTICE files at the root of the source
004 * tree.
005 */
006package org.fcrepo.http.commons.responses;
007
008import static java.lang.annotation.ElementType.METHOD;
009import static java.lang.annotation.RetentionPolicy.RUNTIME;
010
011import java.lang.annotation.Retention;
012import java.lang.annotation.Target;
013
014/**
015 * An annotation that hints to the HtmlProvider a template that should be used
016 * to render a response.
017 *
018 * @author awoods
019 */
020@Target({METHOD})
021@Retention(RUNTIME)
022public @interface HtmlTemplate {
023
024    /**
025     * @return The name of the HTML template to render for this method
026     */
027    String value();
028}