1 package com.atlassian.plugins.rest.common.multipart;
2
3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention;
5 import java.lang.annotation.RetentionPolicy;
6 import java.lang.annotation.Target;
7
8 /**
9 * Annotation for injecting a cached file. Must be on a parameter of type MultipartFormPart
10 *
11 * @since 2.4
12 */
13 @Target(ElementType.PARAMETER)
14 @Retention(RetentionPolicy.RUNTIME)
15 public @interface MultipartFormParam {
16 /**
17 * The name of the file parameter
18 *
19 * @return The name of the file parameter
20 */
21 String value();
22 }