io.trygvis.appsh.booter.jetty
Class JettyWebServer

java.lang.Object
  extended by io.trygvis.appsh.booter.jetty.JettyWebServer

public class JettyWebServer
extends Object


Nested Class Summary
 class JettyWebServer.Context
           
 
Constructor Summary
JettyWebServer()
           
 
Method Summary
 JettyWebServer.Context addContext(String contextPath, File webapp)
           
 void run()
           
 void setBasedir(File basedir)
           
 void setHttpPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyWebServer

public JettyWebServer()
Method Detail

setBasedir

public void setBasedir(File basedir)

setHttpPort

public void setHttpPort(int port)

addContext

public JettyWebServer.Context addContext(String contextPath,
                                         File webapp)
                                  throws Exception
Throws:
Exception

run

public void run()
         throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.