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

org.fcrepo.http.commons.responses.HtmlTemplate Maven / Gradle / Ivy

Go to download

The Fedora Commons repository HTTP commons module: Provides HTTP (JAX-RS) resources and helpers for use in assembling HTTP APIs over the Fedora Commons repository framework.

The newest version!
/*
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree.
 */
package org.fcrepo.http.commons.responses;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * An annotation that hints to the HtmlProvider a template that should be used
 * to render a response.
 *
 * @author awoods
 */
@Target({METHOD})
@Retention(RUNTIME)
public @interface HtmlTemplate {

    /**
     * @return The name of the HTML template to render for this method
     */
    String value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy