org.jboss.resteasy.annotations
Annotation Type Form


@Documented
@Retention(value=RUNTIME)
@Target(value={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



Copyright © 2011. All Rights Reserved.