org.glassfish.jersey.examples.httppatch
Annotation Type PATCH


@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
@HttpMethod(value="PATCH")
@Documented
@NameBinding
public @interface PATCH

HTTP "PATCH" method annotation.

The annotation acts at the same time as JAX-RS filter/interceptor "named binder", i.e. it can be applied to custom filter/interceptor that implements the PATCH support and JAX-RS runtime will take care of automatically associating the filter/interceptor with the @PATCH-annotated resource method.

Author:
Gerard Davison (gerard.davison at oracle.com), Marek Potociar (marek.potociar at oracle.com)



Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.