SMILA (incubation) API documentation

org.eclipse.smila.http.server.util
Class ResourceHandlerService

java.lang.Object
  extended by org.eclipse.smila.http.server.util.AJettyHandlerService
      extended by org.eclipse.smila.http.server.util.ResourceHandlerService
All Implemented Interfaces:
JettyHandler

public class ResourceHandlerService
extends AJettyHandlerService

An implementation of the JettyHandlerService interface to process requests to static web resources. The actual handler is a ResourceHandler.


Field Summary
static java.lang.String PROPERTY_RESOURCEBASE
          Constant for the ComponentContext property "resourceBase".
static java.lang.String PROPERTY_WELCOMEFILES
          Constant for the ComponentContext property "welcomeFiles".
 
Fields inherited from class org.eclipse.smila.http.server.util.AJettyHandlerService
PROPERTY_CONFIGBUNDLE
 
Constructor Summary
ResourceHandlerService()
           
 
Method Summary
protected  void activate(ComponentContext context)
          DS activate method.
 Handler getHandler()
          Returns the actual jetty Handler instance, which in this case is a ResourceHandler instance.
 
Methods inherited from class org.eclipse.smila.http.server.util.AJettyHandlerService
getConfigBundle, getConfigPathProperty, getRootContextPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_RESOURCEBASE

public static final java.lang.String PROPERTY_RESOURCEBASE
Constant for the ComponentContext property "resourceBase".

See Also:
Constant Field Values

PROPERTY_WELCOMEFILES

public static final java.lang.String PROPERTY_WELCOMEFILES
Constant for the ComponentContext property "welcomeFiles".

See Also:
Constant Field Values
Constructor Detail

ResourceHandlerService

public ResourceHandlerService()
Method Detail

activate

protected void activate(ComponentContext context)
DS activate method.

Overrides:
activate in class AJettyHandlerService
Parameters:
context - ComponentContext

getHandler

public Handler getHandler()
Returns the actual jetty Handler instance, which in this case is a ResourceHandler instance.

Returns:
the jetty Handler instance

SMILA (incubation) API documentation