io.trygvis.appsh.booter.jetty
Class JettyWebServer.ClasspathContext
java.lang.Object
io.trygvis.appsh.booter.jetty.JettyWebServer.ClasspathContext
- Enclosing class:
- JettyWebServer
public static class JettyWebServer.ClasspathContext
- extends Object
Adds a web application context from within the classpath.
To get JSPs to work the app has to be extracted
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JettyWebServer.ClasspathContext
public JettyWebServer.ClasspathContext(String contextPath,
String prefix)
- Parameters:
contextPath - Where to "mount" the application, for example /my-appprefix - Where to start the classpath scan, for example "/my-awesome-webapp".
toJetty
protected org.eclipse.jetty.server.handler.ContextHandler toJetty(JettyWebServer.ServerSettings settings)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.