| Package | Description |
|---|---|
| org.ops4j.pax.web.service.spi.model |
SPI model hierarchy contains classes to internally represent all the information
required during registration (adding to running server) of web components (servlets, filters,
welcome files, error pages, security constraints, ...).
|
| org.ops4j.pax.web.service.spi.model.elements |
Model subpackage representing actual web elements, while infrastructure elements
(like contexts) are kept in the package above.
|
| org.ops4j.pax.web.service.spi.model.info |
This package contains DTO-like classes used when presenting information about Pax Web models.
|
| org.ops4j.pax.web.service.spi.model.views | |
| org.ops4j.pax.web.service.spi.servlet.dynamic | |
| org.ops4j.pax.web.service.spi.task |
Package containing tools for batch/transactional operations on Pax Web model and
ServerController. |
| org.ops4j.pax.web.service.spi.whiteboard |
| Modifier and Type | Method and Description |
|---|---|
ServletModel |
ServerModel.createJspServletModel(org.osgi.framework.Bundle serviceBundle,
String name,
String jspFile,
String[] urlPatterns,
Map<String,String> initParams,
JspConfiguration config)
Method that creates
ServletModel to be called when actually registering JSP support within
a HttpContext / OsgiContextModel, but also called when needed during registration of a servlet
backed by "JSP file". |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ServletModel> |
ServletContextModel.getAliasMapping() |
Map<String,Map<String,ServletModel>> |
ServiceModel.getAliasMapping() |
Set<ServletModel> |
ServerModel.getDisabledServletModels() |
Set<ServletModel> |
ServiceModel.getServletModels() |
Map<String,ServletModel> |
ServletContextModel.getServletNameMapping() |
Map<String,ServletModel> |
ServletContextModel.getServletUrlPatternMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerModel.addServletModel(ServletModel model,
Batch batch)
Validates
ServletModel and adds relevant batch operations if validation is successful. |
void |
ServletContextModel.disableServletModel(ServletModel model)
Marks given
ServletModel as disabled, which means it should no longer be available on active
mappings, and should be moved to list of disabled servlets. |
void |
ServletContextModel.enableServletModel(ServletModel model)
Marks given
ServletModel as enabled, which means it has to be immediately added to relevant
mappings, because validation was performed earlier. |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerModel.removeServletModels(List<ServletModel> models,
Batch batch)
Adds relevant batch operations related to unregistration of
servlet models. |
| Modifier and Type | Method and Description |
|---|---|
ServletModel |
ServletModel.Builder.build() |
ServletModel |
SecurityConstraintModel.getServletModel() |
ServletModel |
JspModel.getServletModel() |
| Modifier and Type | Method and Description |
|---|---|
List<ServletModel> |
ContainerInitializerModel.getRelatedServletModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityConstraintModel.setServletModel(ServletModel servletModel) |
void |
JspModel.setServletModel(ServletModel model) |
org.osgi.service.http.runtime.dto.ErrorPageDTO |
ErrorPageModel.toDTO(ServletModel sm) |
org.osgi.service.http.runtime.dto.FailedErrorPageDTO |
ErrorPageModel.toFailedDTO(ServletModel sm,
int dtoFailureCode) |
| Constructor and Description |
|---|
ServletInfo(ServletModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicJEEWebContainerView.registerServlet(ServletModel model)
Dynamically registers a servlet without a way to unregister it.
|
| Modifier and Type | Method and Description |
|---|---|
ServletModel |
DynamicServletRegistration.getModel() |
| Constructor and Description |
|---|
DynamicServletRegistration(ServletModel model,
OsgiContextModel osgiContextModel,
ServletContextModel servletContextModel,
DynamicRegistrations regs) |
| Modifier and Type | Method and Description |
|---|---|
ServletModel |
ServletModelChange.getServletModel() |
| Modifier and Type | Method and Description |
|---|---|
Map<ServletModel,Boolean> |
ServletModelChange.getServletModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addDisabledServletModel(ServletModel model)
Add
ServletModel to ServerModel but as disabled model, which can't be registered
because other model is registered for the same URL pattern. |
void |
Batch.addServletModel(ServletModel model,
OsgiContextModel... newModels)
Add
ServletModel to ServerModel |
void |
Batch.disableServletModel(ServletModel model)
Disable
ServletModel from ServerModel |
void |
Batch.enableServletModel(ServletModel model)
Enable
ServletModel |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.removeServletModels(Map<ServletModel,Boolean> toUnregister)
Remove
ServletModel from ServerModel |
| Constructor and Description |
|---|
ServletModelChange(OpCode op,
ServletModel servletModel,
boolean disabled,
OsgiContextModel... newModels) |
ServletModelChange(OpCode op,
ServletModel servletModel,
OsgiContextModel... newModels) |
| Constructor and Description |
|---|
ServletModelChange(OpCode op,
Map<ServletModel,Boolean> servletModels) |
ServletModelChange(OpCode op,
Map<ServletModel,Boolean> servletModels,
boolean dynamic) |
| Modifier and Type | Method and Description |
|---|---|
void |
WhiteboardWebContainerView.registerResources(ServletModel model)
Registers a
ServletModel as a resource servlet, which means that first proper
resource servlet has to be created. |
void |
WhiteboardWebContainerView.registerServlet(ServletModel model)
One-stop method to register a
Servlet described using ServletModel. |
void |
WhiteboardWebContainerView.unregisterResources(ServletModel model)
Unregisters a
ServletModel as a resource servlet. |
void |
WhiteboardWebContainerView.unregisterServlet(ServletModel model)
Unregistration of
ServletModel using any set criteria. |
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.