| 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.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 |
|---|---|
Map<String,ErrorPageModel> |
ServletContextModel.getErrorPageMapping() |
Set<ErrorPageModel> |
ServiceModel.getErrorPageModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerModel.addErrorPageModel(ErrorPageModel model,
Batch batch) |
void |
ServletContextModel.disableErrorPageModel(ErrorPageModel model)
Mark given
ErrorPageModel as disabled |
void |
ServletContextModel.enableErrorPageModel(ErrorPageModel model)
Mark given
ErrorPageModel as enabled |
void |
ServerModel.prepareErrorPageSnapshot(Map<String,TreeMap<ErrorPageModel,List<OsgiContextModel>>> currentlyEnabledByPath,
Set<ErrorPageModel> currentlyDisabled,
ErrorPageModel newlyAdded,
Set<ErrorPageModel> newlyDisabled)
Preparation for
ServerModel.reEnableErrorPageModels(Set, Map, ErrorPageModel, Batch) that does
proper copy of current state of all ServletContextModel |
| Modifier and Type | Method and Description |
|---|---|
ErrorPageModel |
ServletModel.getErrorPageModel() |
| Modifier and Type | Method and Description |
|---|---|
ErrorPageModel |
ErrorPageModelChange.getErrorPageModel() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TreeMap<ErrorPageModel,List<OsgiContextModel>>> |
ErrorPageStateChange.getContextErrorPages() |
List<ErrorPageModel> |
ErrorPageModelChange.getErrorPageModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addDisabledErrorPageModel(ErrorPageModel model)
Add
ErrorPageModel to ServerModel but as disabled model |
void |
Batch.addErrorPageModel(ErrorPageModel model,
OsgiContextModel... newModels)
Add
ErrorPageModel to ServerModel |
void |
Batch.disableErrorPageModel(ErrorPageModel model)
Disable
ErrorPageModel in ServerModel |
void |
Batch.enableErrorPageModel(ErrorPageModel model)
Enable
ErrorPageModel |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.removeErrorPageModels(List<ErrorPageModel> toUnregister)
Remove
ErrorPageModel from ServerModel |
void |
Batch.updateErrorPages(Map<String,TreeMap<ErrorPageModel,List<OsgiContextModel>>> contextErrorPageModels)
Batch (inside batch...) method that passes full information about all error page models
that should be enabled in a set of contexts.
|
| Constructor and Description |
|---|
ErrorPageModelChange(OpCode op,
ErrorPageModel filterModel,
boolean disabled,
OsgiContextModel... newModels) |
ErrorPageModelChange(OpCode kind,
ErrorPageModel model,
OsgiContextModel... newModels) |
| Constructor and Description |
|---|
ErrorPageModelChange(OpCode op,
List<ErrorPageModel> errorPageModels) |
ErrorPageStateChange(Map<String,TreeMap<ErrorPageModel,List<OsgiContextModel>>> contextErrorPages) |
| Modifier and Type | Method and Description |
|---|---|
void |
WhiteboardWebContainerView.registerErrorPages(ErrorPageModel model)
Registers error pages into
associated contexts |
void |
WhiteboardWebContainerView.unregisterErrorPages(ErrorPageModel model)
Unregisters error pages
|
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.