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

com.ftpix.sparknnotation.annotations.SparkPut Maven / Gradle / Ivy

package com.ftpix.sparknnotation.annotations;

import com.ftpix.sparknnotation.defaultvalue.DefaultTemplateEngine;
import com.ftpix.sparknnotation.defaultvalue.DefaultTransformer;
import spark.ResponseTransformer;
import spark.TemplateEngine;

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

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SparkPut {
    String value() default "";
    Class transformer() default DefaultTransformer.class;
    Class templateEngine() default DefaultTemplateEngine.class;
    String accept() default "*/*";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy