public class MorphAdornerServerApplication
extends org.restlet.ext.wadl.WadlApplication
| Constructor and Description |
|---|
MorphAdornerServerApplication()
Create application.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.restlet.representation.Representation |
createHtmlRepresentation(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
Creates a new HTML representation for a given
WadlServerResource
instance describing a server resource. |
org.restlet.Restlet |
createInboundRoot()
Creates a root Restlet that will receive all incoming calls.
|
protected java.lang.String |
getRootURI(org.restlet.Context context)
Find the root URI for serving static content.
|
attachToComponent, attachToHost, canDescribe, createFinder, createWadlRepresentation, getApplicationInfo, getBaseRef, getPreferredWadlVariant, getRouter, getWadlVariants, handle, isAutoDescribing, setAutoDescribing, setBaseRef, wadlRepresent, wadlRepresentcreateOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, setClientRoot, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start, stoppublic MorphAdornerServerApplication()
public org.restlet.Restlet createInboundRoot()
createInboundRoot in class org.restlet.Applicationprotected java.lang.String getRootURI(org.restlet.Context context)
context - The Restlet context.Works either within a servlet container or in the standalone Restlet container.
protected org.restlet.representation.Representation createHtmlRepresentation(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
WadlServerResource
instance describing a server resource.createHtmlRepresentation in class org.restlet.ext.wadl.WadlApplicationapplicationInfo - The application description.WadlRepresentation.
The built-in restlet WADL to HTML transformation is broken, so we replace it commpletely.