@Deprecated public class WadlComponent extends Component
WadlApplication
using
this WadlApplication.WadlApplication(Representation)
constructor.Constructor and Description |
---|
WadlComponent()
Deprecated.
Default constructor.
|
WadlComponent(Reference wadlRef)
Deprecated.
Constructor loading a WADL description document at a given URI.
The necessary client connectors are automatically created. |
WadlComponent(Representation wadl)
Deprecated.
Constructor based on a given WADL description document.
|
WadlComponent(java.lang.String wadlUri)
Deprecated.
Constructor loading a WADL description document at a given URI.
The necessary client connectors are automatically created. |
Modifier and Type | Method and Description |
---|---|
WadlApplication |
attach(Reference wadlRef)
Deprecated.
Attaches an application created from a WADL description document
available at a given URI reference.
|
WadlApplication |
attach(Representation wadl)
Deprecated.
Attaches an application created from a WADL description document to the
component.
|
WadlApplication |
attach(java.lang.String wadlUri)
Deprecated.
Attaches an application created from a WADL description document
available at a given URI.
|
static void |
main(java.lang.String[] args)
Deprecated.
Main method capable of configuring and starting a whole Restlet Component
based on a list of local WADL documents URIs, for example
"file:///C:/YahooSearch.wadl".
The necessary client connectors are automatically created. |
getClients, getDefaultHost, getHosts, getInternalRouter, getLogService, getRealm, getRealms, getServers, getServices, getStatusService, getTaskService, handle, setClients, setContext, setDefaultHost, setHosts, setInternalRouter, setLogService, setRealms, setServers, setStatusService, setTaskService, start, startClients, startHelper, startRealms, startRouters, startServers, startServices, stop, stopClients, stopHelper, stopRealms, stopRouters, stopServers, stopServices, updateHosts
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner
public WadlComponent()
public WadlComponent(Reference wadlRef)
wadlRef
- The URI reference to the WADL description document.public WadlComponent(Representation wadl)
wadl
- The WADL description document.public WadlComponent(java.lang.String wadlUri)
wadlUri
- The URI to the WADL description document.public static void main(java.lang.String[] args) throws java.lang.Exception
args
- List of local WADL document URIs.java.lang.Exception
public WadlApplication attach(Reference wadlRef)
wadlRef
- The URI reference to the WADL description document.public WadlApplication attach(Representation wadl)
wadl
- The WADL description document.public WadlApplication attach(java.lang.String wadlUri)
wadlUri
- The URI to the WADL description document.Copyright © 2005-2020 Restlet.