public abstract class ContextPathCustomizer
extends java.lang.Object
Registering a customizer results in re-initializing all existing ServletContextHelper registrations. This should not be done often. Only the highest ranked customizer is used the runtime.
Note: This class is part of an interim SPI that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this SPI will almost certainly be broken (repeatedly) as the SPI evolves.
| Constructor and Description |
|---|
ContextPathCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContextPathPrefix(<any> helper)
Returns a prefix that is prepended to the context path value
specified by the supplied helper's "osgi.http.whiteboard.context.path"
service property.
|
java.lang.String |
getDefaultContextSelectFilter(<any> httpWhiteBoardService)
Returns a service filter that is used to select the default ServletContextHelper when no
selection filter is specified by the whiteboard service.
|
public java.lang.String getDefaultContextSelectFilter(<any> httpWhiteBoardService)
httpWhiteBoardService - public java.lang.String getContextPathPrefix(<any> helper)
helper - the helper for which the context path will be prepended to