com.noelios.restlet.ext.asyncweb
Class HttpServerHelper
java.lang.Object
org.restlet.util.Helper
com.noelios.restlet.ConnectorHelper
com.noelios.restlet.ServerHelper
com.noelios.restlet.http.HttpServerHelper
com.noelios.restlet.ext.asyncweb.AsyncWebServerHelper
com.noelios.restlet.ext.asyncweb.HttpServerHelper
- All Implemented Interfaces:
- org.safehaus.asyncweb.container.ServiceContainer
public class HttpServerHelper
- extends AsyncWebServerHelper
AsyncWeb HTTP server connector.
This implementation passes by all of AsyncWeb ServiceContainer,
HttpServiceHandler etc. mechanisms and implements a
HttpServerHelper
and a
ServiceContainer
directly. It takes
care about setting up a
NIOTransport
.
Note: This implementation is not usable inside an AsyncWeb standard
environment because it represents a container and not a handler; it takes
full control over the container lifecycle.
- Author:
- Lars Heuer (heuer[at]semagia.com) Semagia
Method Summary |
void |
start()
Starts the Connector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServerHelper
public HttpServerHelper(Server server)
- Constructor.
- Parameters:
server
- The server to help.
start
public void start()
throws org.safehaus.asyncweb.container.ContainerLifecycleException
- Starts the Connector.
- Specified by:
start
in interface org.safehaus.asyncweb.container.ServiceContainer
- Overrides:
start
in class AsyncWebServerHelper
- Throws:
org.safehaus.asyncweb.container.ContainerLifecycleException
Copyright © 2005-2007 Noelios Consulting.