001    /*
002     * The contents of this file are subject to the terms
003     * of the Common Development and Distribution License
004     * (the "License").  You may not use this file except
005     * in compliance with the License.
006     * 
007     * You can obtain a copy of the license at
008     * http://www.opensource.org/licenses/cddl1.php
009     * See the License for the specific language governing
010     * permissions and limitations under the License.
011     */
012    
013    /*
014     * Encoded.java
015     *
016     * Created on June 29, 2007, 11:40 AM
017     *
018     */
019    
020    package javax.ws.rs;
021    
022    import java.lang.annotation.Documented;
023    import java.lang.annotation.ElementType;
024    import java.lang.annotation.Retention;
025    import java.lang.annotation.RetentionPolicy;
026    import java.lang.annotation.Target;
027    
028    /**
029     * Disables automatic decoding of parameter values bound using {@link QueryParam},
030     * {@link PathParam}, {@link FormParam} or {@link MatrixParam}. 
031     * Using this annotation on a method will disable decoding for all parameters.
032     * Using this annotation on a class will disable decoding for all parameters of
033     * all methods.
034     *
035     * @see QueryParam
036     * @see MatrixParam
037     * @see PathParam
038     * @see FormParam
039     */
040    @Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.TYPE})
041    @Retention(RetentionPolicy.RUNTIME)
042    @Documented
043    public @interface Encoded {
044        
045    }