Annotation Type Form


  • @Documented
    @Retention(RUNTIME)
    @Target({PARAMETER,METHOD,FIELD})
    public @interface Form
    This can be used as a value object for incoming/outgoing request/responses. You can re-use @*Param annotations on fields/methods of the parameter to unmarshall from the request or marshall to the response depending if you're using server-side JAX-RS or the Resteasy client framework

    When using this on the server side, you must put your @*Param annotations on either fields or setter methods.

    When using this with the Resteasy client framework, you must put your @*Param annotations on either fields or getter methods.

    Version:
    $Revision:$
    Author:
    Bill Burke
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String prefix
      This is a form parameter prefix you want applied to any @FormParam variables in the object See documentation for more details.
    • Element Detail

      • prefix

        String prefix
        This is a form parameter prefix you want applied to any @FormParam variables in the object See documentation for more details.
        Returns:
        prefix
        Default:
        ""