@Deprecated public class RamlApplication extends Application
Application
can describe
itself in the format described by the RAML specification project.RamlSpecificationRestlet
.Constructor and Description |
---|
RamlApplication()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
attachRamlDocumentationRestlet(Router router,
java.lang.String ramlPath,
Restlet ramlRestlet)
Deprecated.
Defines the route on which the Raml definition will be provided.
|
void |
attachRamlSpecificationRestlet(Router router)
Deprecated.
Defines the route on which the RAML definition will be provided (by
default, "/raml").
|
Restlet |
getInboundRoot()
Deprecated.
Overrides the parent's implementation.
|
RamlSpecificationRestlet |
getRamlSpecificationRestlet(Context context)
Deprecated.
The dedicated
Restlet able to generate the RAML specification
format. |
createInboundRoot, createOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, handle, isDebugging, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDebugging, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start, stop
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner
public void attachRamlDocumentationRestlet(Router router, java.lang.String ramlPath, Restlet ramlRestlet)
router
- The router on which defining the new route.ramlPath
- The path to which attach the Restlet that serves the RAML
definition.ramlRestlet
- The Restlet that serves the RAML definition.public void attachRamlSpecificationRestlet(Router router)
router
- The router on which defining the new route.public Restlet getInboundRoot()
RamlSpecificationRestlet
. By default, the
documentation is attached to the high level router, with the "/raml"
path.getInboundRoot
in class Application
public RamlSpecificationRestlet getRamlSpecificationRestlet(Context context)
Restlet
able to generate the RAML specification
format.Restlet
able to generate the RAML specification
format.Copyright © 2005-2024 Restlet.