Package | Description |
---|---|
org.restlet.ext.wadl |
Modifier and Type | Method and Description |
---|---|
protected MethodInfo |
WadlServerResource.describeMethod()
Returns a WADL description of the current method.
|
Modifier and Type | Method and Description |
---|---|
List<MethodInfo> |
ResourceInfo.getMethods()
Returns the list of supported methods.
|
List<MethodInfo> |
ApplicationInfo.getMethods()
Returns the list of method elements.
|
List<MethodInfo> |
ResourceTypeInfo.getMethods()
Returns the list of supported methods.
|
Modifier and Type | Method and Description |
---|---|
protected RepresentationInfo |
WadlServerResource.describe(MethodInfo methodInfo,
Class<?> representationClass,
Variant variant)
Describes a representation class and variant couple as WADL information.
|
protected RepresentationInfo |
WadlServerResource.describe(MethodInfo methodInfo,
RequestInfo requestInfo,
Class<?> representationClass,
Variant variant)
Describes a representation class and variant couple as WADL information
for the given method and request.
|
protected RepresentationInfo |
WadlServerResource.describe(MethodInfo methodInfo,
ResponseInfo responseInfo,
Class<?> representationClass,
Variant variant)
Describes a representation class and variant couple as WADL information
for the given method and response.
|
static void |
MethodInfo.describeAnnotations(MethodInfo info,
ServerResource resource)
Automatically describe a method by discovering the resource's
annotations.
|
protected void |
WadlServerResource.describeDelete(MethodInfo info)
Describes the DELETE method.
|
protected void |
WadlServerResource.describeGet(MethodInfo info)
Describes the GET method.
By default, it describes the response with the available variants based on the ServerResource.getVariants() method. |
protected void |
WadlServerResource.describeMethod(Method method,
MethodInfo info)
Returns a WADL description of the given method.
|
protected void |
WadlServerResource.describeOptions(MethodInfo info)
Describes the OPTIONS method.
By default it describes the response with the available variants based on the WadlServerResource.getWadlVariants() method. |
protected void |
WadlServerResource.describePatch(MethodInfo info)
Describes the Patch method.
|
protected void |
WadlServerResource.describePost(MethodInfo info)
Describes the POST method.
|
protected void |
WadlServerResource.describePut(MethodInfo info)
Describes the PUT method.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceInfo.setMethods(List<MethodInfo> methods)
Sets the list of supported methods.
|
void |
ApplicationInfo.setMethods(List<MethodInfo> methods)
Sets the list of documentation elements.
|
void |
ResourceTypeInfo.setMethods(List<MethodInfo> methods)
Sets the list of supported methods.
|
Copyright © 2005–2019. All rights reserved.