public class ResourceHandlerService extends AJettyHandlerService
JettyHandlerService interface to process requests to static web resources. The
actual handler is a ResourceHandler.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_RESOURCEBASE
Constant for the ComponentContext property "resourceBase".
|
static java.lang.String |
PROPERTY_WELCOMEFILES
Constant for the ComponentContext property "welcomeFiles".
|
PROPERTY_CONFIGBUNDLE| Constructor and Description |
|---|
ResourceHandlerService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(ComponentContext context)
DS activate method.
|
Handler |
getHandler()
Returns the actual jetty
Handler instance, which in this case is a ResourceHandler instance. |
getConfigBundle, getConfigPathProperty, getRootContextPathpublic static final java.lang.String PROPERTY_RESOURCEBASE
public static final java.lang.String PROPERTY_WELCOMEFILES
protected void activate(ComponentContext context)
activate in class AJettyHandlerServicecontext - ComponentContextpublic Handler getHandler()
Handler instance, which in this case is a ResourceHandler instance.Handler instance