org.restlet.ext.wadl
Class WadlWrapper
java.lang.Object
org.restlet.Restlet
org.restlet.util.WrapperRestlet
org.restlet.ext.wadl.WadlWrapper
- All Implemented Interfaces:
- WadlDescribable, Uniform
public abstract class WadlWrapper
- extends WrapperRestlet
- implements WadlDescribable
WADL wrapper for Restlet
instances. Useful if you need to provide the
WADL documentation for instances of classes such as Directory
.
- Author:
- Thierry Boileau
Methods inherited from class org.restlet.util.WrapperRestlet |
getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner, start, stop |
WadlWrapper
public WadlWrapper(Restlet wrappedRestlet)
- Constructor.
- Parameters:
wrappedRestlet
- The Restlet to wrap.
getResourceInfo
public ResourceInfo getResourceInfo()
- Returns the description of the wrapped Restlet.
- Returns:
- The ResourceInfo object of the wrapped Restlet.
setResourceInfo
public void setResourceInfo(ResourceInfo resourceInfo)
- Sets the description of the wrapped Restlet.
- Parameters:
resourceInfo
- The ResourceInfo object of the wrapped Restlet.
Copyright © 2005-2013 Restlet.