protected void createWebAppContext ( ) { webapp = new WebAppContext ( ) ; webapp . setThrowUnavailableOnStartupException ( true ) ; webapp . setServerClasses ( getServerClasses ( ) ) ; webapp . setContextPath ( getContextPath ( ) ) ; webapp . setTempDirectory ( createTempDir ( "jetty-app-" ) ) ; setSecureCookies ( ) ; }
Create the WebAppContext with basic configurations set like context path etc .