@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Patch
@Patch
public Representation update(Representation input);
@Patch("json-patch")
public String updateJson(String value);
@Patch("json-patch|xml-patch:xml|json")
public Representation update(Representation value);
@Patch("json?param=val")
public Representation updateWithParam(String value);
@Patch("json?param")
public Representation updateWithParam(String value);
@Patch("?param")
public Representation updateWithParam(String value);
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value
Specifies the media type of the request and response entities as
extensions.
|
public abstract java.lang.String value
MetadataService. For a
list of all predefined extensions, please check
MetadataService.addCommonExtensions(). New extension can be
registered using
MetadataService.addExtension(String, org.restlet.data.Metadata)
method.Copyright © 2005-2024 Restlet.