java.lang.Object
org.alicebot.server.net.JettyWrapper
- All Implemented Interfaces:
- AliceCompatibleHttpServer, org.alicebot.server.core.BotProcess, java.lang.Runnable
- public class JettyWrapper
- extends java.lang.Object
- implements AliceCompatibleHttpServer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jetty
private static org.mortbay.jetty.Server jetty
JettyWrapper
public JettyWrapper()
configure
public void configure(java.lang.String s)
throws java.io.IOException
- Specified by:
configure in interface AliceCompatibleHttpServer
run
public void run()
- Description copied from interface:
java.lang.Runnable
- This method will be called by whoever wishes to run your class
implementing Runnable. Note that there are no restrictions on what
you are allowed to do in the run method, except that you cannot
throw a checked exception.
- Specified by:
run in interface AliceCompatibleHttpServer
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.alicebot.server.core.BotProcess
getServer
public org.mortbay.jetty.Server getServer()