Class ServiceEndpointApplication
- java.lang.Object
-
- org.restlet.Restlet
-
- org.restlet.Application
-
- org.forgerock.openam.rest.service.ServiceEndpointApplication
-
- All Implemented Interfaces:
org.restlet.Uniform
- Direct Known Subclasses:
OAuth2ServiceEndpointApplication,UMAServiceEndpointApplication
public abstract class ServiceEndpointApplication extends org.restlet.ApplicationRestlet Application for REST Service Endpoints.- Since:
- 12.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedServiceEndpointApplication(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.RestletcreateInboundRoot()Creates an inbound Restlet root for all registered REST Service endpoints.protected abstract org.restlet.RestletgetRouter()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
-
-
-
-
Constructor Detail
-
ServiceEndpointApplication
protected ServiceEndpointApplication(org.restlet.service.StatusService statusService)
Constructs a new ServiceEndpointApplication.
Sets the StatusService toRestStatusService.
-
-
Method Detail
-
createInboundRoot
public org.restlet.Restlet createInboundRoot()
Creates an inbound Restlet root for all registered REST Service endpoints.- Overrides:
createInboundRootin classorg.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.
-
-