| 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.views | |
| org.ops4j.pax.web.service.spi.servlet |
Package with classes used in different runtimes for common tasks, like wrapping
HttpServletRequest. |
| 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 |
|---|---|
Set<FilterModel> |
ServiceModel.getFilterModels() |
Map<String,FilterModel> |
ServletContextModel.getFilterNameMapping() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerModel.addFilterModel(FilterModel model,
Batch batch)
Validates
FilterModel and adds relevant batch operations if validation is successful. |
void |
ServletContextModel.disableFilterModel(FilterModel model)
Marks given
FilterModel as disabled. |
void |
ServletContextModel.enableFilterModel(FilterModel model)
Marks given
FilterModel as enabled. |
void |
ServerModel.prepareFiltersSnapshot(Map<String,TreeMap<FilterModel,List<OsgiContextModel>>> currentlyEnabledByPath,
Set<FilterModel> currentlyDisabled,
FilterModel newlyAdded,
Set<FilterModel> newlyDisabled)
Preparation for
ServerModel.reEnableFilterModels(Set, Map, FilterModel, Batch) that does
proper copy of current state of all ServletContextModel |
| Modifier and Type | Method and Description |
|---|---|
FilterModel |
FilterModel.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicJEEWebContainerView.registerFilter(FilterModel model)
Dynamically registers a filter without a way to unregister it.
|
| Modifier and Type | Method and Description |
|---|---|
FilterModel |
PreprocessorFilterConfig.getModel() |
| Constructor and Description |
|---|
OsgiInitializedFilter(javax.servlet.Filter filter,
FilterModel model,
javax.servlet.ServletContext servletSpecificContext,
boolean whiteboardTCCL) |
PreprocessorFilterConfig(FilterModel model,
OsgiServletContext context) |
ScopedFilter(javax.servlet.Filter filter,
FilterModel model) |
| Modifier and Type | Method and Description |
|---|---|
FilterModel |
DynamicFilterRegistration.getModel() |
| Constructor and Description |
|---|
DynamicFilterRegistration(FilterModel model,
OsgiContextModel osgiContextModel,
DynamicRegistrations regs) |
| Modifier and Type | Method and Description |
|---|---|
FilterModel |
FilterModelChange.getFilterModel() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TreeMap<FilterModel,List<OsgiContextModel>>> |
FilterStateChange.getContextFilters() |
List<FilterModel> |
FilterModelChange.getFilterModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.addDisabledFilterModel(FilterModel model)
Add
FilterModel to ServerModel but as disabled model |
void |
Batch.addFilterModel(FilterModel model,
OsgiContextModel... newModels)
Add
FilterModel to ServerModel |
void |
Batch.disableFilterModel(FilterModel model)
Disable
FilterModel from ServerModel |
void |
Batch.enableFilterModel(FilterModel model)
Enable
FilterModel |
| Modifier and Type | Method and Description |
|---|---|
void |
Batch.removeFilterModels(List<FilterModel> toUnregister)
Remove
ServletModel from ServerModel |
void |
Batch.updateFilters(Map<String,TreeMap<FilterModel,List<OsgiContextModel>>> contextFilters,
boolean dynamic)
Batch (inside batch...) method that passes full information about all filters that should be enabled
in a set of contexts.
|
| Constructor and Description |
|---|
FilterModelChange(OpCode op,
FilterModel filterModel,
boolean disabled,
OsgiContextModel... newModels) |
FilterModelChange(OpCode op,
FilterModel filterModel,
OsgiContextModel... newModels) |
| Constructor and Description |
|---|
FilterModelChange(OpCode op,
List<FilterModel> filterModels) |
FilterStateChange(Map<String,TreeMap<FilterModel,List<OsgiContextModel>>> contextFilters,
boolean dynamic) |
| Modifier and Type | Method and Description |
|---|---|
void |
WhiteboardWebContainerView.registerFilter(FilterModel model)
One-stop method to register a
Filter described using FilterModel. |
void |
WhiteboardWebContainerView.unregisterFilter(FilterModel model)
Unregistration of
FilterModel using any set criteria. |
Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.