diff --git a/jaxrs-api/src/main/java/javax/ws/rs/FormParam.java b/jaxrs-api/src/main/java/javax/ws/rs/FormParam.java index 69a9fbcd2..00fcda811 100644 --- a/jaxrs-api/src/main/java/javax/ws/rs/FormParam.java +++ b/jaxrs-api/src/main/java/javax/ws/rs/FormParam.java @@ -46,6 +46,13 @@ *
* *+ * If this annotation is used to bind form parameters, a JAX-RS implementation MUST use the entity provider API + * to create a {@link javax.ws.rs.core.Form} and derive the values from this instance. This implies, + * that {@link javax.ws.rs.core.Form} is the only allowed entity parameter type if there is at least one + * {@link FormParam} annotation for a request. + *
+ * + ** Note that, whilst the annotation target permits use on fields and methods, this annotation is only required to be * supported on resource method parameters. *