|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.http.server.internal.HttpServiceImpl
public class HttpServiceImpl
Service implementation of a HttpServer.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_FILE
The name of the configuration file. |
| Fields inherited from interface org.eclipse.smila.http.server.HttpService |
|---|
BUNDLE_NAME |
| Constructor Summary | |
|---|---|
HttpServiceImpl()
|
|
| Method Summary | |
|---|---|
protected void |
activate(ComponentContext context)
DS activate method. |
void |
addHttpHandler(HttpHandler handler)
Add a HttpHandler.. |
void |
addJettyHandler(JettyHandler handler)
Add a JettyHandler. |
protected void |
deactivate(ComponentContext context)
DS deactivate method. |
void |
removeHttpHandler(HttpHandler handler)
Remove the given HttpHandler. |
void |
removeJettyHandler(JettyHandler handler)
Remove the given JettyHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONFIG_FILE
| Constructor Detail |
|---|
public HttpServiceImpl()
| Method Detail |
|---|
public void addHttpHandler(HttpHandler handler)
handler - the new HttpHandlerpublic void removeHttpHandler(HttpHandler handler)
handler - the HttpHandlerpublic void addJettyHandler(JettyHandler handler)
handler - the new JettyHandlerpublic void removeJettyHandler(JettyHandler handler)
handler - the JettyHandlerprotected void activate(ComponentContext context)
context - ComponentContextprotected void deactivate(ComponentContext context)
context - the ComponentContext
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||