@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Put
@Put public MyOutputBean store(MyInputBean input); @Put("json") public String storeJson(String value); @Put("json|xml:xml|json") public Representation store(Representation value); @Put("json?param=val") public Representation storeWithParam(String value); @Put("json?param") public Representation storeWithParam(String value); @Put("?param") public Representation storeWithParam(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.client.data.Metadata)
method.Copyright © 2005-2024 Restlet.