Class ServiceEndpointApplication

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ServiceEndpointApplication​(org.restlet.service.StatusService statusService)
      Constructs a new ServiceEndpointApplication.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.restlet.Restlet createInboundRoot()
      Creates an inbound Restlet root for all registered REST Service endpoints.
      protected abstract org.restlet.Restlet getRouter()
      Obtain the router for this application from the RestEndpoints.
      • Methods inherited from class org.restlet.Application

        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, stop
      • Methods inherited from class org.restlet.Restlet

        createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner
    • Constructor Detail

      • ServiceEndpointApplication

        protected ServiceEndpointApplication​(org.restlet.service.StatusService statusService)
        Constructs a new ServiceEndpointApplication.
        Sets the StatusService to RestStatusService.
    • Method Detail

      • createInboundRoot

        public org.restlet.Restlet createInboundRoot()
        Creates an inbound Restlet root for all registered REST Service endpoints.
        Overrides:
        createInboundRoot in class org.restlet.Application
        Returns:
        A Restlet for routing incoming REST Service endpoint requests.
      • getRouter

        protected abstract org.restlet.Restlet getRouter()
        Obtain the router for this application from the RestEndpoints.
        Returns:
        The required router.