@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Options
@Options
public ApplicationInfo describe();
@Options("wadl|html")
public Representation describe();
@Options("wadl?param=val")
public Representation describeWithParam();
@Options("wadl?param")
public Representation describeWithParam();
@Options("?param")
public Representation describeWithParam();
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
value
Specifies the media type extension of the response entity.
|
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.