javax.ws.rs
Annotation Type Encoded


@Target(value={PARAMETER,METHOD,FIELD,CONSTRUCTOR,TYPE})
@Retention(value=RUNTIME)
@Documented
public @interface Encoded

Disables automatic decoding of values bound using either QueryParam, PathParam, FormParam or MatrixParam. This annotation is only effective when combined with one of these annotations, implementations should warn if the annotation is used on a scope where it will have no effect. Using this annotation on a method will disable decoding for all parameters. Using this annotation on a class will disable decoding for all parameters of all methods.

See Also:
QueryParam, MatrixParam, PathParam, FormParam



Copyright ? 2008 Sun Microsystems, Inc. All Rights Reserved.