public class OntopiaRestApplication
extends org.restlet.Application
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends AbstractController>,AbstractController> |
controllers |
protected ParameterResolverIF |
objectResolver |
protected TopicMapResolverIF |
topicmapResolver |
Constructor and Description |
---|
OntopiaRestApplication(org.restlet.Context context) |
Modifier and Type | Method and Description |
---|---|
org.restlet.Restlet |
createInboundRoot() |
<C extends AbstractController> |
getController(Class<C> controllerClass) |
DeclarationContextIF |
getDeclarationContext(TopicMapIF topicmap) |
ParameterResolverIF |
getResolver() |
TopicMapReferenceIF |
getTopicMapReference(org.restlet.Request request) |
protected boolean |
isEnabled(APIVersions version) |
void |
stop() |
createOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, 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
protected final ParameterResolverIF objectResolver
protected final TopicMapResolverIF topicmapResolver
protected final Map<Class<? extends AbstractController>,AbstractController> controllers
public OntopiaRestApplication(org.restlet.Context context)
public TopicMapReferenceIF getTopicMapReference(org.restlet.Request request)
public ParameterResolverIF getResolver()
public org.restlet.Restlet createInboundRoot()
createInboundRoot
in class org.restlet.Application
public DeclarationContextIF getDeclarationContext(TopicMapIF topicmap)
protected boolean isEnabled(APIVersions version)
public void stop() throws Exception
stop
in class org.restlet.Application
Exception
public <C extends AbstractController> C getController(Class<C> controllerClass)