play.data.binding.As Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.data.binding;
import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Type;
import java.util.Map;
import play.mvc.Http;
import play.mvc.Scope;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER, ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
public @interface As {
String[] value() default {""};
String[] lang() default {"*"};
Class extends TypeBinder>> binder() default DEFAULT.class;
Class extends TypeUnbinder>> unbinder() default DEFAULT.class;
final class DEFAULT implements TypeBinder