RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

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

Optional Element Summary
 String prefix
          This is a form parameter prefix you want applied to any @FormParam variables in the object See documentation for more details.
 

prefix

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

Returns:
Default:
""

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.