public class CommunoteJaxRsApplication
extends org.restlet.ext.jaxrs.JaxRsApplication
| Constructor and Description |
|---|
CommunoteJaxRsApplication(org.restlet.Restlet restlet,
AbstractCommunoteApplicationConfig appConfig)
This method configures the JAX-RS application.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
standaloneServer(int port,
AbstractCommunoteApplicationConfig appConfig)
This static method runs a simple standalone server.
|
add, createInboundRoot, getGuard, getJaxRsRestlet, getObjectFactory, getRoleChecker, getRootResources, getRootUris, setApplications, setAuthentication, setContext, setGuard, setGuard, setObjectFactory, setRoleCheckercreateOutboundRoot, createRoot, getConnectorService, getConverterService, getCurrent, getDecoderService, getFinderClass, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getRoot, getServices, getStatusService, getTaskService, getTunnelService, handle, setClientRoot, setConnectorService, setConverterService, setCurrent, setDecoderService, setFinderClass, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setRangeService, setRoles, setRoot, setRoot, setStatusService, setTaskService, setTunnelService, start, stoppublic CommunoteJaxRsApplication(org.restlet.Restlet restlet,
AbstractCommunoteApplicationConfig appConfig)
component - - an component of the enviroment e.g. SpringComponentappConfig - - the configuration class, that extends the AbstractCommunoteApplicationConfig classpublic static void standaloneServer(int port,
AbstractCommunoteApplicationConfig appConfig)
throws Exception
port - - the port to which the server should listen toappConfig - - the configuration class, that extends the AbstractCommunoteAppConfig classExceptionCopyright © 2019 Communote team. All rights reserved.