Class JakartaRsLoader
java.lang.Object
dev.getelements.elements.app.serve.loader.JakartaRsLoader
- All Implemented Interfaces:
AppServeConstants
,Loader
Searches an
Element
for a service of type Application
and loads it into the application container
making all types specified in the Application
available as RESTful API Calls.-
Field Summary
FieldsFields inherited from interface dev.getelements.elements.app.serve.AppServeConstants
APPLICATION_PREFIX, ENABLE_ELEMENTS_AUTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.server.Handler.Sequence
void
load
(ApplicationElementService.ApplicationElementRecord record, Element element) Loads the specificElement
from the suppliedApplicationElementService.ApplicationElementRecord
void
setAuthFilterFeature
(AuthFilterFeature authFilterFeature) void
setHttpContextRoot
(HttpContextRoot httpContextRoot) void
setSequence
(org.eclipse.jetty.server.Handler.Sequence sequence)
-
Field Details
-
APP_PREFIX_FORMAT
- See Also:
-
HANDLER_SEQUENCE
- See Also:
-
-
Constructor Details
-
JakartaRsLoader
public JakartaRsLoader()
-
-
Method Details
-
load
Description copied from interface:Loader
Loads the specificElement
from the suppliedApplicationElementService.ApplicationElementRecord
-
getSequence
public org.eclipse.jetty.server.Handler.Sequence getSequence() -
setSequence
@Inject public void setSequence(@Named("dev.getelements.elements.app.serve.handler.rs") org.eclipse.jetty.server.Handler.Sequence sequence) -
getHttpContextRoot
-
setHttpContextRoot
-
getAuthFilterFeature
-
setAuthFilterFeature
-