├── .gitignore ├── README ├── TERMS ├── docbook-tips.md ├── pom.xml └── src ├── docbkx-stylesheet ├── fo │ └── docbook.xsl └── html │ └── docbook.xsl ├── docbkx ├── administration │ ├── alpn │ │ ├── alpn.xml │ │ └── chapter.xml │ ├── annotations │ │ ├── chapter.xml │ │ ├── quick-annotations-setup.xml │ │ ├── using-annotations-embedded.xml │ │ └── using-annotations.xml │ ├── extras │ │ ├── balancer-servlet.xml │ │ ├── cgi-servlet.xml │ │ ├── chapter.xml │ │ ├── cross-origin-filter.xml │ │ ├── debug-handler.xml │ │ ├── default-handler.xml │ │ ├── default-servlet.xml │ │ ├── dos-filter.xml │ │ ├── error-handler.xml │ │ ├── gzip-filter.xml │ │ ├── ipaccess-handler.xml │ │ ├── moved-context-handler.xml │ │ ├── proxy-servlet.xml │ │ ├── qos-filter.xml │ │ ├── resource-handler.xml │ │ ├── rewrite-handler.xml │ │ ├── shutdown-handler.xml │ │ └── statistics-handler.xml │ ├── fastcgi │ │ ├── chapter.xml │ │ ├── configuring-fastcgi.xml │ │ └── fastcgi-intro.xml │ ├── http2 │ │ ├── chapter.xml │ │ ├── configuring-haproxy.xml │ │ ├── configuring-http2.xml │ │ ├── configuring-push.xml │ │ ├── enabling-http2.xml │ │ └── introduction.xml │ ├── jmx │ │ ├── chapter.xml │ │ ├── jetty-jconsole.xml │ │ ├── jetty-jmx-annotations.xml │ │ └── using-jmx.xml │ ├── jndi │ │ ├── chapter.xml │ │ ├── jndi-configuration.xml │ │ ├── jndi-datasources.xml │ │ ├── jndi-embedded.xml │ │ ├── quick-jndi-setup.xml │ │ └── using-jndi.xml │ ├── logging │ │ ├── chapter.xml │ │ ├── configuring-jetty-logging.xml │ │ ├── configuring-jetty-request-logs.xml │ │ ├── default-logging-with-stderrlog.xml │ │ ├── dump-tool.xml │ │ ├── example-apache-log4j.xml │ │ ├── example-java-util-logging-native.xml │ │ ├── example-java-util-logging.xml │ │ ├── example-logback-centralized-logging.xml │ │ ├── example-logback-sifting.xml │ │ ├── example-logback.xml │ │ └── example-slf4j-multiple-loggers.xml │ ├── npn │ │ ├── chapter.xml │ │ └── npn.xml │ ├── runner │ │ ├── chapter.xml │ │ └── jetty-runner.xml │ ├── sessions │ │ ├── chapter.xml │ │ ├── session-clustering-gcloud-datastore.xml │ │ ├── session-clustering-infinispan.xml │ │ ├── session-clustering-jdbc.xml │ │ ├── session-clustering-mongodb.xml │ │ ├── setting-session-characteristics.xml │ │ └── using-persistent-sessions.xml │ ├── spdy │ │ ├── chapter.xml │ │ ├── configuring-spdy-proxy.xml │ │ ├── configuring-spdy-push.xml │ │ ├── configuring-spdy.xml │ │ ├── implement-spdy-push-strategy.xml │ │ └── introduction.xml │ ├── startup │ │ ├── chapter.xml │ │ ├── empty-base-listconfig.txt │ │ ├── empty-base.txt │ │ ├── http-webapp-deploy-listconfig.txt │ │ ├── http-webapp-deploy.txt │ │ ├── list-modules.txt │ │ ├── screen-empty-base-listconfig.xml │ │ ├── screen-empty-base.xml │ │ ├── screen-http-webapp-deploy-listconfig.xml │ │ ├── screen-http-webapp-deploy.xml │ │ ├── screen-list-modules.xml │ │ ├── start-jar.xml │ │ ├── start-matrix.xml │ │ ├── startup-base-vs-home.xml │ │ ├── startup-classpath.xml │ │ ├── startup-modules.xml │ │ ├── startup-overview.xml │ │ ├── startup-troubleshooting.xml │ │ ├── startup-unix-service.xml │ │ ├── startup-windows-service.xml │ │ └── startup-xml-config.xml │ └── tuning │ │ ├── chapter.xml │ │ ├── garbage-collection.xml │ │ ├── high-load.xml │ │ └── limit-load.xml ├── configuring │ ├── connectors │ │ ├── chapter.xml │ │ ├── configuring-connectors.xml │ │ ├── configuring-ssl.xml │ │ └── setting-port80-access-for-non-root-user.xml │ ├── contexts │ │ ├── chapter.xml │ │ ├── configuring-virtual-hosts.xml │ │ ├── custom-error-pages.xml │ │ ├── serving-webapp-from-particular-port.xml │ │ ├── setting-context-path.xml │ │ ├── setting-form-size.xml │ │ └── temporary-directories.xml │ ├── deploying │ │ ├── anatomy-of-a-webapp.xml │ │ ├── automatic-webapp-deployment.xml │ │ ├── chapter.xml │ │ ├── configuring-specific-webapp-deployment.xml │ │ ├── deployment-architecture.xml │ │ ├── deployment-processing-webapps.xml │ │ ├── hot-deployment.xml │ │ ├── overlay-deployer.xml │ │ ├── quickstart-webapp.xml │ │ ├── setting-deployment-bindings.xml │ │ └── static-content-deployment.xml │ ├── jsp │ │ ├── chapter.xml │ │ └── configuring-jsp.xml │ └── security │ │ ├── authentication.xml │ │ ├── authorization.xml │ │ ├── chapter.xml │ │ ├── configuring-form-size.xml │ │ ├── jaas-support.xml │ │ ├── jetty-home-and-jetty-base.xml │ │ ├── secure-passwords.xml │ │ ├── serving-aliased-files.xml │ │ └── spnego-support.xml ├── css │ ├── docbook.css │ ├── font-awesome-ie7.min.css │ ├── font-awesome.min.css │ ├── shCore.css │ ├── shCoreDefault.css │ ├── shCoreEclipse.css │ ├── shThemeDefault.css │ └── shThemeEclipse.css ├── development │ ├── ant │ │ ├── chapter.xml │ │ └── jetty-ant.xml │ ├── clients │ │ ├── http │ │ │ ├── chapter.xml │ │ │ ├── http-client-api.xml │ │ │ ├── http-client-intro.xml │ │ │ └── http-client-other.xml │ │ ├── spdy │ │ │ ├── chapter.xml │ │ │ └── sample.xml │ │ └── websocket │ │ │ ├── chapter.xml │ │ │ └── sample.xml │ ├── continuations │ │ ├── chapter.xml │ │ ├── continuations-intro.xml │ │ ├── continuations-patterns.xml │ │ └── continuations-using.xml │ ├── debugging │ │ ├── chapter.xml │ │ ├── debugging-with-eclipse.xml │ │ ├── debugging-with-intellij.xml │ │ └── enable-remote-debugging.xml │ ├── embedding │ │ ├── chapter.xml │ │ ├── embedded-examples.xml │ │ ├── embedding-jetty.xml │ │ ├── examples │ │ │ ├── embedded-file-server.xml │ │ │ ├── embedded-many-connectors.xml │ │ │ ├── embedded-minimal-servlet.xml │ │ │ ├── embedded-one-webapp.xml │ │ │ ├── embedded-secured-hello-handler.xml │ │ │ └── embedded-split-file-server.xml │ │ └── jetty-helloworld.xml │ ├── frameworks │ │ ├── chapter.xml │ │ ├── metro.xml │ │ ├── osgi.xml │ │ ├── spring-usage.xml │ │ └── weld.xml │ ├── handlers │ │ ├── chapter.xml │ │ └── writing-custom-handlers.xml │ ├── maven │ │ ├── chapter.xml │ │ ├── jetty-jspc-maven-plugin.xml │ │ ├── jetty-maven-helloworld.xml │ │ ├── jetty-maven-plugin.xml │ │ └── jetty-maven-scanning.xml │ └── websockets │ │ ├── intro │ │ └── chapter.xml │ │ ├── java │ │ ├── chapter.xml │ │ ├── java-websocket-client-api.xml │ │ └── java-websocket-server-api.xml │ │ └── jetty │ │ ├── chapter.xml │ │ ├── jetty-websocket-api-adapter.xml │ │ ├── jetty-websocket-api-annotations.xml │ │ ├── jetty-websocket-api-events.xml │ │ ├── jetty-websocket-api-listener.xml │ │ ├── jetty-websocket-api-send-message.xml │ │ ├── jetty-websocket-api-session.xml │ │ ├── jetty-websocket-api.xml │ │ ├── jetty-websocket-client-api.xml │ │ └── jetty-websocket-server-api.xml ├── font │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── images │ ├── Jetty_DeployManager_AppLifeCycle-1.png │ ├── Jetty_DeployManager_DefaultAppLifeCycleBindings.png │ ├── Jetty_DeployManager_DeploymentManager_Roles.png │ ├── basic-architecture-connectors.png │ ├── basic-architecture-handlers.png │ ├── basic-architecture-nested-handlers.png │ ├── basic-architecture-patterns.png │ ├── basic-architecture-servlet-handler.png │ ├── basic-architecture-web-application.png │ ├── caution.png │ ├── caution.svg │ ├── chrome_net_internals.png │ ├── debug-eclipse-1.png │ ├── debug-eclipse-2.png │ ├── debug-eclipse-3.png │ ├── draft-ribbon.png │ ├── favicon.ico │ ├── important.png │ ├── important.svg │ ├── intellij_debug_view.png │ ├── intellij_new_remote_config.png │ ├── intellij_select_debug.png │ ├── intellij_set_breakpoint.png │ ├── jconsole1.jpg │ ├── jconsole2.jpg │ ├── jetty-avatar.svg │ ├── jetty-header-logo.png │ ├── jetty-high-level-architecture.png │ ├── jetty-logo-shadow.png │ ├── jetty-logo-shadow.svg │ ├── jetty-logo.svg │ ├── jetty.gif │ ├── modules-9.3-simplified.dot │ ├── modules-9.3-simplified.png │ ├── note.png │ ├── note.svg │ ├── tip.png │ ├── tip.svg │ ├── warning.png │ ├── warning.svg │ └── windows-service-jetty.png ├── incoming │ ├── chapter.xml │ └── sample.xml ├── jetty.xml ├── js │ ├── shAutoloader.js │ ├── shBrushAS3.js │ ├── shBrushAppleScript.js │ ├── shBrushBash.js │ ├── shBrushCSharp.js │ ├── shBrushColdFusion.js │ ├── shBrushCpp.js │ ├── shBrushCss.js │ ├── shBrushDelphi.js │ ├── shBrushDiff.js │ ├── shBrushErlang.js │ ├── shBrushGroovy.js │ ├── shBrushJScript.js │ ├── shBrushJava.js │ ├── shBrushJavaFX.js │ ├── shBrushPerl.js │ ├── shBrushPhp.js │ ├── shBrushPlain.js │ ├── shBrushPowerShell.js │ ├── shBrushProperties.js │ ├── shBrushPython.js │ ├── shBrushRuby.js │ ├── shBrushSass.js │ ├── shBrushScala.js │ ├── shBrushSql.js │ ├── shBrushVb.js │ ├── shBrushXml.js │ ├── shCore.js │ └── shLegacy.js ├── quick-start │ ├── configuring │ │ ├── chapter.xml │ │ ├── how-to-configure.xml │ │ └── what-to-configure.xml │ ├── getting-started │ │ ├── chapter.xml │ │ ├── jetty-coordinates.xml │ │ ├── jetty-deploying.xml │ │ ├── jetty-installing.xml │ │ └── jetty-running.xml │ └── introduction │ │ ├── chapter.xml │ │ ├── jetty-javaee.xml │ │ ├── what-is-jetty.xml │ │ └── what-version.xml ├── reference │ ├── architecture │ │ ├── 1xx-responses.xml │ │ ├── basic-architecture.xml │ │ ├── chapter.xml │ │ ├── jetty-classloading.xml │ │ └── server-side-architecture.xml │ ├── contributing │ │ ├── bugs.xml │ │ ├── chapter.xml │ │ ├── coding-standards.xml │ │ ├── community.xml │ │ ├── documentation.xml │ │ ├── patches.xml │ │ ├── release-testing.xml │ │ ├── releasing-jetty.xml │ │ └── source-build.xml │ ├── faq │ │ └── chapter.xml │ ├── jetty-xml │ │ ├── chapter.xml │ │ ├── jetty-env-xml.xml │ │ ├── jetty-web-xml-config.xml │ │ ├── jetty-xml-config.xml │ │ ├── jetty-xml-syntax.xml │ │ ├── jetty-xml-usage.xml │ │ ├── override-web-xml.xml │ │ └── webdefault-xml.xml │ ├── platforms │ │ ├── chapter.xml │ │ ├── cloudfoundry.xml │ │ ├── elastic-beanstalk.xml │ │ ├── fedora.xml │ │ ├── jelastic.xml │ │ └── ubuntu.xml │ ├── troubleshooting │ │ ├── chapter.xml │ │ ├── preventing-memory-leaks.xml │ │ ├── security-reports.xml │ │ ├── slow-deployment.xml │ │ ├── troubleshooting-locked-files.xml │ │ └── troubleshooting-zip-exceptions.xml │ └── upgrading │ │ ├── chapter.xml │ │ └── sample.xml ├── sed-tasks.sh ├── tasks.sed └── txt-to-screen.sh ├── main ├── assembly │ └── html.xml └── filters │ └── jetty.properties └── xsd ├── catalog.xml ├── docbook.xsd ├── docbookxi.xsd ├── xlink.xsd └── xml.xsd /.gitignore: -------------------------------------------------------------------------------- 1 | # eclipse 2 | .classpath 3 | .project 4 | .settings 5 | 6 | # maven 7 | target/ 8 | */src/main/java/META-INF/ 9 | 10 | # common junk 11 | *.log 12 | *.swp 13 | *.diff 14 | *.patch 15 | 16 | # intellij 17 | *.iml 18 | *.ipr 19 | *.iws 20 | .idea/ 21 | 22 | # Mac filesystem dust 23 | /.DS_Store 24 | 25 | # pmd 26 | .pmdruleset 27 | .pmd 28 | 29 | # netbeans 30 | /nbproject 31 | 32 | # vim 33 | .*.sw[a-p] 34 | 35 | # merge tooling 36 | *.orig 37 | 38 | # xmlmind 39 | *~ 40 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | ********************* 2 | * WARNING 3 | ********************* 4 | 5 | The content in this repository has been moved to http://github.com/eclipse/jetty.project under the jetty-documentation artifact. 6 | 7 | If you would like to contribute please do so as a pull request to that repository! 8 | -------------------------------------------------------------------------------- /src/docbkx/administration/alpn/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | ALPN 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/administration/annotations/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Annotations 24 | 25 | Jetty supports the servlet specification annotations. It is not enabled by default, so the following sections show you how to enable it, and how to use them. 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/docbkx/administration/extras/balancer-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
24 | Balancer Servlet 25 |
26 | Info 27 | 28 | 29 | Classname: org.eclipse.jetty.proxy.BalancerServlet 30 | 31 | 32 | Maven Artifact: org.eclipse.jetty:jetty-proxy 33 | 34 | 35 | 36 | Javadoc: @JDURL@/org/eclipse/jetty/proxy/BalancerServlet.html 37 | 38 | 39 | 40 | 41 | Xref: @JXURL@/org/eclipse/jetty/proxy/BalancerServlet.html 42 | 43 | 44 | 45 |
46 |
47 | Usage 48 | 49 | The Balancer servlet allows for simple, sticky round robin load balancing leveraging the ProxyServlet that is distributed with Jetty. 50 | 51 | 52 | In addition to the parameters for ProxyServlet, the following are available for the balancer servlet: 53 | 54 | 55 | 56 | stickySessions 57 | 58 | 59 | true if sessions should be sticky for subsequent requests 60 | 61 | 62 | 63 | 64 | balancerMember.<name>.proxyTo 65 | 66 | 67 | One of more of these are required and will be the locations that are used to proxy traffic to. 68 | 69 | 70 | 71 | 72 |
73 |
74 | -------------------------------------------------------------------------------- /src/docbkx/administration/extras/cgi-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
24 | CGI Servlet 25 |
26 | Info 27 | 28 | 29 | Classname: org.eclipse.jetty.servlets.CGI 30 | 31 | 32 | Maven Artifact: org.eclipse.jetty:jetty-servlets 33 | 34 | 35 | 36 | Javadoc: @JDURL@/org/eclipse/jetty/servlets/CGI.html 37 | 38 | 39 | 40 | 41 | Xref: @JXURL@/org/eclipse/jetty/servlets/CGI.html 42 | 43 | 44 | 45 |
46 |
47 | Usage 48 | 49 | The CGI servlet class extends the abstract HttpServlet class. When the init parameter is called, the cgi bin directory is set with the cgibinResourceBase. Otherwise, it defaults to the resource base of the context. See CGI javadoc. 50 | 51 | 52 | The cgi bin uses three parameters: 53 | 54 | 55 | 56 | commandPrefix 57 | 58 | 59 | The init parameter obtained when there is a prefix set to all commands directed to the method exec. 60 | 61 | 62 | 63 | 64 | Path 65 | 66 | 67 | An init parameter passed to the exec environment as a PATH. This must be run unpacked somewhere in the filesystem. 68 | 69 | 70 | 71 | 72 | ENV_ 73 | 74 | 75 | An init parameter that points to an environment variable with the name stripped of the leading ENV_ and using the init parameter value. 76 | 77 | 78 | 79 | 80 |
81 |
82 | -------------------------------------------------------------------------------- /src/docbkx/administration/extras/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 30 | Provided Servlets, Filters, and Handlers 31 | 32 | Jetty ships with a bundle of servlets that interact with the key 33 | classes. Most are in the org.eclipse.jetty.servlets package. These servlets 34 | and filters are among the principle elements of Jetty as a component-based 35 | infrastructure that holds and runs J2EE applications. As described, they 36 | play a major role in running and maintaining the Jetty server. 37 | 38 | Also included are a number of Jetty specific handlers that allow 39 | acccess to internals of jetty that would not normally be exposed and are 40 | very useful testing environments and many production scenarios. 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /src/docbkx/administration/extras/error-handler.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
24 | Error Handler 25 |
26 | Info 27 | 28 | 29 | Classname: org.eclipse.jetty.server.handler.ErrorHandler 30 | 31 | 32 | Maven Artifact: org.eclipse.jetty:jetty-server 33 | 34 | 35 | 36 | Javadoc: @JDURL@/org/eclipse/jetty/server/handler/ErrorHandler.html 37 | 38 | 39 | 40 | 41 | Xref: @JXURL@/org/eclipse/jetty/server/handler/ErrorHandler.html 42 | 43 | 44 | 45 |
46 |
47 | Usage 48 | 49 | A handler that is used to report errors from servlet contexts and webapp contexts to report error conditions. Primarily handles setting the various servlet spec specific response headers for error conditions. Can be customized by extending, for more information on this see . 50 | 51 |
52 |
53 | -------------------------------------------------------------------------------- /src/docbkx/administration/fastcgi/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 22 | FastCGI Support 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/administration/http2/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 24 | HTTP/2 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/docbkx/administration/jmx/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | JMX 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/docbkx/administration/jndi/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Configuring JNDI 24 | 25 | Jetty supports java:comp/env lookups in webapps. This is 26 | an optional feature for which you need to do some setup. 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/docbkx/administration/logging/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 29 | Jetty Logging 30 | 31 | This chapter discusses various options for configuring logging. 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/docbkx/administration/logging/example-logback-sifting.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
23 | Example: MDC Based Sifting of Logs with Logback 24 | This page describes how to create log files at the server level and name them based on an arbitrary context. 25 | You do this with SLF4J + Logback + Jetty Webapp Logging in the mix. Find example projects for this feature at 26 | github: 27 | 28 | https://github.com/jetty-project/jetty-and-logback-example 29 | 30 | 31 | 32 | GitHub Example Project 33 | 34 | 35 | 36 | Modules 37 | Description 38 | 39 | 40 | 41 | 42 | /jetty-distro-with-logback-basic/ 43 | Configures the jetty distribution with logback enabled at the server level with an example logback 44 | configuration. 45 | 46 | 47 | /jetty-distro-with-logback-sifting/ 48 | Configures the jetty distribution with logback, centralized webapp logging, an MDC handler, and a 49 | sample logback configuration that performs sifting based on the incoming Host header on the requests. 50 | 51 | 52 | /jetty-slf4j-mdc-handler/ 53 | Provides the SLF4J MDC key/value pairs that Jetty needs to perform the sample sifting. 54 | 55 | 56 | /jetty-slf4j-test-webapp/ 57 | A sample webapp+servlet that accepts arbitrary values on a form POST and logs them via SLF4J, so that 58 | you can see the results of this example. 59 | 60 | 61 | 62 |
63 |
64 | -------------------------------------------------------------------------------- /src/docbkx/administration/npn/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | NPN 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/administration/runner/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 27 | Jetty Runner 28 | 29 | This chapter explains how to use the jetty-runner to run your webapps 30 | without needing an installation of jetty. 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/docbkx/administration/sessions/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Session Management 24 | 25 | 26 | 32 | 33 | -------------------------------------------------------------------------------- /src/docbkx/administration/spdy/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | SPDY 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 28 | Starting Jetty 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/empty-base-listconfig.txt: -------------------------------------------------------------------------------- 1 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --list-config 2 | 3 | Java Environment: 4 | ----------------- 5 | java.home = /home/joakim/java/jvm/jdk-8u45/jre 6 | java.vm.vendor = Oracle Corporation 7 | java.vm.version = 25.45-b02 8 | java.vm.name = Java HotSpot(TM) 64-Bit Server VM 9 | java.vm.info = mixed mode 10 | java.runtime.name = Java(TM) SE Runtime Environment 11 | java.runtime.version = 1.8.0_45-b14 12 | java.io.tmpdir = /tmp 13 | user.dir = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 14 | user.language = en 15 | user.country = US 16 | 17 | Jetty Environment: 18 | ----------------- 19 | jetty.version = 9.3.0-SNAPSHOT 20 | jetty.tag.version = master 21 | jetty.home = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/distribution 22 | jetty.base = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 23 | 24 | Config Search Order: 25 | -------------------- 26 | 27 | ${jetty.base} -> /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 28 | ${jetty.home} -> /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/distribution 29 | 30 | 31 | JVM Arguments: 32 | -------------- 33 | (no jvm args specified) 34 | 35 | System Properties: 36 | ------------------ 37 | (no system properties specified) 38 | 39 | Properties: 40 | ----------- 41 | (no properties specified) 42 | 43 | Jetty Server Classpath: 44 | ----------------------- 45 | No classpath entries and/or version information available show. 46 | 47 | Jetty Active XMLs: 48 | ------------------ 49 | (no xml files specified) 50 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/empty-base.txt: -------------------------------------------------------------------------------- 1 | [/home/user]$ mkdir mybase 2 | [/home/user]$ cd mybase 3 | [my-base]$ java -jar /path/to/jetty-distribution/start.jar 4 | 5 | WARNING: Nothing to start, exiting ... 6 | 7 | Usage: java -jar start.jar [options] [properties] [configs] 8 | java -jar start.jar --help # for more information 9 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/http-webapp-deploy-listconfig.txt: -------------------------------------------------------------------------------- 1 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --list-config 2 | 3 | Java Environment: 4 | ----------------- 5 | java.home = /home/joakim/java/jvm/jdk-8u31-x64/jre 6 | java.vm.vendor = Oracle Corporation 7 | java.vm.version = 25.31-b07 8 | java.vm.name = Java HotSpot(TM) 64-Bit Server VM 9 | java.vm.info = mixed mode 10 | java.runtime.name = Java(TM) SE Runtime Environment 11 | java.runtime.version = 1.8.0_31-b13 12 | java.io.tmpdir = /tmp 13 | user.dir = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 14 | user.language = en 15 | user.country = US 16 | 17 | Jetty Environment: 18 | ----------------- 19 | jetty.version = 9.3.0-SNAPSHOT 20 | jetty.tag.version = master 21 | jetty.home = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/distribution 22 | jetty.base = /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 23 | 24 | Config Search Order: 25 | -------------------- 26 | 27 | ${jetty.base} -> /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/mybase 28 | ${jetty.home} -> /home/joakim/code/intalio/org.eclipse.jetty9.project/jetty-distribution/target/distribution 29 | 30 | 31 | JVM Arguments: 32 | -------------- 33 | (no jvm args specified) 34 | 35 | System Properties: 36 | ------------------ 37 | (no system properties specified) 38 | 39 | Properties: 40 | ----------- 41 | jetty.http.port = 8080 42 | 43 | Jetty Server Classpath: 44 | ----------------------- 45 | Version Information on 11 entries in the classpath. 46 | Note: order presented here is how they would appear on the classpath. 47 | changes to the --module=name command line options will be reflected here. 48 | 0: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar 49 | 1: 3.1.0.M0 | ${jetty.home}/lib/jetty-schemas-3.1.jar 50 | 2: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-http-9.3.0-SNAPSHOT.jar 51 | 3: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-server-9.3.0-SNAPSHOT.jar 52 | 4: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-xml-9.3.0-SNAPSHOT.jar 53 | 5: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-util-9.3.0-SNAPSHOT.jar 54 | 6: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-io-9.3.0-SNAPSHOT.jar 55 | 7: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-security-9.3.0-SNAPSHOT.jar 56 | 8: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-servlet-9.3.0-SNAPSHOT.jar 57 | 9: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-webapp-9.3.0-SNAPSHOT.jar 58 | 10: 9.3.0-SNAPSHOT | ${jetty.home}/lib/jetty-deploy-9.3.0-SNAPSHOT.jar 59 | 60 | Jetty Active XMLs: 61 | ------------------ 62 | ${jetty.home}/etc/jetty.xml 63 | ${jetty.home}/etc/jetty-http.xml 64 | ${jetty.home}/etc/jetty-deploy.xml 65 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/http-webapp-deploy.txt: -------------------------------------------------------------------------------- 1 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --add-to-start=http,webapp,deploy 2 | 3 | INFO: server initialised (transitively) in ${jetty.base}/start.ini 4 | INFO: http initialised in ${jetty.base}/start.ini 5 | INFO: security initialised (transitively) in ${jetty.base}/start.ini 6 | INFO: servlet initialised (transitively) in ${jetty.base}/start.ini 7 | INFO: webapp initialised in ${jetty.base}/start.ini 8 | INFO: deploy initialised in ${jetty.base}/start.ini 9 | MKDIR: ${jetty.base}/webapps 10 | INFO: Base directory was modified 11 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/screen-empty-base-listconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --list-config 10 | 11 | Java Environment: 12 | ----------------- 13 | java.home = /lib/jvm/jdk-8u45/jre 14 | java.vm.vendor = Oracle Corporation 15 | java.vm.version = 25.45-b02 16 | java.vm.name = Java HotSpot(TM) 64-Bit Server VM 17 | java.vm.info = mixed mode 18 | java.runtime.name = Java(TM) SE Runtime Environment 19 | java.runtime.version = 1.8.0_45-b14 20 | java.io.tmpdir = /tmp 21 | user.dir = /home/jetty/mybase 22 | user.language = en 23 | user.country = US 24 | 25 | Jetty Environment: 26 | ----------------- 27 | jetty.version = @project.version@ 28 | jetty.home = /opt/jetty-distribution 29 | jetty.base = /home/jetty/mybase 30 | 31 | Config Search Order: 32 | -------------------- 33 | <command-line> 34 | ${jetty.base} -> /home/jetty/mybase 35 | ${jetty.home} -> /opt/jetty-distribution 36 | 37 | 38 | JVM Arguments: 39 | -------------- 40 | (no jvm args specified) 41 | 42 | System Properties: 43 | ------------------ 44 | (no system properties specified) 45 | 46 | Properties: 47 | ----------- 48 | (no properties specified) 49 | 50 | Jetty Server Classpath: 51 | ----------------------- 52 | No classpath entries and/or version information available show. 53 | 54 | Jetty Active XMLs: 55 | ------------------ 56 | (no xml files specified) 57 | 58 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/screen-empty-base.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | WARNING: Nothing to start, exiting ... 10 | 11 | Usage: java -jar start.jar [options] [properties] [configs] 12 | java -jar start.jar --help # for more information 13 | 14 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/screen-http-webapp-deploy-listconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --list-config 10 | 11 | Java Environment: 12 | ----------------- 13 | java.home = /lib/jvm/jdk-8u31-x64/jre 14 | java.vm.vendor = Oracle Corporation 15 | java.vm.version = 25.31-b07 16 | java.vm.name = Java HotSpot(TM) 64-Bit Server VM 17 | java.vm.info = mixed mode 18 | java.runtime.name = Java(TM) SE Runtime Environment 19 | java.runtime.version = 1.8.0_31-b13 20 | java.io.tmpdir = /tmp 21 | user.dir = /home/jetty/mybase 22 | user.language = en 23 | user.country = US 24 | 25 | Jetty Environment: 26 | ----------------- 27 | jetty.version = @project.version@ 28 | jetty.home = /opt/jetty-distribution 29 | jetty.base = /home/jetty/mybase 30 | 31 | Config Search Order: 32 | -------------------- 33 | <command-line> 34 | ${jetty.base} -> /home/jetty/mybase 35 | ${jetty.home} -> /opt/jetty-distribution 36 | 37 | 38 | JVM Arguments: 39 | -------------- 40 | (no jvm args specified) 41 | 42 | System Properties: 43 | ------------------ 44 | (no system properties specified) 45 | 46 | Properties: 47 | ----------- 48 | jetty.http.port = 8080 49 | 50 | Jetty Server Classpath: 51 | ----------------------- 52 | Version Information on 11 entries in the classpath. 53 | Note: order presented here is how they would appear on the classpath. 54 | changes to the --module=name command line options will be reflected here. 55 | 0: 3.1.0 | ${jetty.home}/lib/servlet-api-3.1.jar 56 | 1: 3.1.0.M0 | ${jetty.home}/lib/jetty-schemas-3.1.jar 57 | 2: @project.version@ | ${jetty.home}/lib/jetty-http-@project.version@.jar 58 | 3: @project.version@ | ${jetty.home}/lib/jetty-server-@project.version@.jar 59 | 4: @project.version@ | ${jetty.home}/lib/jetty-xml-@project.version@.jar 60 | 5: @project.version@ | ${jetty.home}/lib/jetty-util-@project.version@.jar 61 | 6: @project.version@ | ${jetty.home}/lib/jetty-io-@project.version@.jar 62 | 7: @project.version@ | ${jetty.home}/lib/jetty-security-@project.version@.jar 63 | 8: @project.version@ | ${jetty.home}/lib/jetty-servlet-@project.version@.jar 64 | 9: @project.version@ | ${jetty.home}/lib/jetty-webapp-@project.version@.jar 65 | 10: @project.version@ | ${jetty.home}/lib/jetty-deploy-@project.version@.jar 66 | 67 | Jetty Active XMLs: 68 | ------------------ 69 | ${jetty.home}/etc/jetty.xml 70 | ${jetty.home}/etc/jetty-http.xml 71 | ${jetty.home}/etc/jetty-deploy.xml 72 | 73 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/screen-http-webapp-deploy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | [mybase]$ java -jar /opt/jetty-distribution/start.jar --add-to-start=http,webapp,deploy 10 | 11 | INFO: server initialised (transitively) in ${jetty.base}/start.ini 12 | INFO: http initialised in ${jetty.base}/start.ini 13 | INFO: security initialised (transitively) in ${jetty.base}/start.ini 14 | INFO: servlet initialised (transitively) in ${jetty.base}/start.ini 15 | INFO: webapp initialised in ${jetty.base}/start.ini 16 | INFO: deploy initialised in ${jetty.base}/start.ini 17 | MKDIR: ${jetty.base}/webapps 18 | INFO: Base directory was modified 19 | 20 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/start-matrix.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
28 | Start Option Matrix [deprecated] 29 | 30 | Content from: 31 | http://wiki.eclipse.org/Jetty/Reference/Start_Options 32 |
33 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/startup-troubleshooting.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
29 | Startup Troubleshooting 30 | 31 | [troubleshooting startup] 32 |
33 | -------------------------------------------------------------------------------- /src/docbkx/administration/startup/startup-xml-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
28 | Managing XML Based Startup Configuration 29 | 30 | When you see XML files on the command line for startup of Jetty, they 31 | are always part of the Jetty IoC Configuration mechanism. 32 | 33 | Internally, Jetty uses these XML files to build up Jetty with the 34 | features that you wan to use. 35 | 36 | The module mechanism present in Jetty determines the load order of the 37 | XML files. 38 | 39 | The Jetty Base and Jetty Home resolution logic also applies, which 40 | allows you to override a XML file declared by a module with your XML by 41 | simply having the same named XML in your ${jetty.base} 42 | directory location. 43 |
44 | -------------------------------------------------------------------------------- /src/docbkx/administration/tuning/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 30 | Optimizing Jetty 31 | 32 | There are many ways to optimize Jetty, which vary depending on the 33 | situation. Are you trying to optimize for number of requests within a given 34 | amount of time? Are you trying to optimize the serving of static content? Do 35 | you have a large bit of hardware that you want to give entirely over to 36 | Jetty to use to its heart's delight? Here are a few of the many different 37 | ways to optimize Jetty. 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/docbkx/configuring/connectors/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 22 | Configuring Jetty Connectors 23 | This chapter discusses various options for configuring Jetty connectors. 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/docbkx/configuring/contexts/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 26 | Configuring Contexts 27 | This chapter discusses various options for configuring Jetty contexts. 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/docbkx/configuring/deploying/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 28 | Deploying to Jetty 29 | 30 | This chapter discusses various ways to deploy applications with Jetty. 31 | Topics range from deployment bindings to deploying third party products. It 32 | also includes information about the Deployment Manager, 33 | WebApp Provider, and Overlay Deployer. 34 | 35 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /src/docbkx/configuring/deploying/static-content-deployment.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
29 | Configuring Static Content Deployment 30 | 31 | Should you want to serve purely static content, you can use the Jetty 32 | Deployment Descriptor XML concepts and the internal ResourceHandler to setup 33 | simple serving of static content. Just create a file called 34 | scratch.xml in the 35 | ${jetty.home}/webapps directory and paste these file 36 | contents in it. 37 | 38 | 39 | 40 | 41 | <?xml version="1.0" encoding="UTF-8"?> 42 | <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd"> 43 | <Configure class="org.eclipse.jetty.server.handler.ContextHandler"> 44 | <Set name="contextPath">/scratch</Set> 45 | <Set name="handler"> 46 | <New class="org.eclipse.jetty.server.handler.ResourceHandler"> 47 |    <Set name="resourceBase">/home/jesse/scratch</Set> 48 | <Set name="directoriesListed">true</Set> 49 | </New> 50 | </Set> 51 | </Configure> 52 | 53 | 54 | 55 | 56 | This is a very basic setup for serving static files, if you want 57 | advanced static file serving, use the DefaultServlet. 59 |
60 | -------------------------------------------------------------------------------- /src/docbkx/configuring/jsp/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 26 | Configuring JSP Support 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/docbkx/configuring/security/authorization.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
25 | Authorization 26 | There are two aspects to securing a web application(or context) within Jetty: 27 | 28 | 29 | Authentication 30 | 31 | The web application can be configured with a mechanism to determine the identity of the user. See Configurating Security - Authentication. 33 | 34 | 35 | 36 | Authorization 37 | 38 | Once the identify of the user is known (or not known), the web application can be configured with 39 | security constraints that declare what resources that user may access. This is covered in this section. 40 | 41 | 42 | 43 |
44 | Blah blah blah 45 | blah blah blah 46 |
47 |
48 | Blah blah blah 49 | blah blah blah 50 |
51 |
52 | -------------------------------------------------------------------------------- /src/docbkx/configuring/security/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 25 | Configuring Security 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/docbkx/development/ant/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 30 | Using Ant with Jetty 31 | 32 | This chapter explains how to use Jetty with Ant and the Jetty Ant 33 | tasks. 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/docbkx/development/clients/http/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 22 | HTTP Client 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/docbkx/development/clients/spdy/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Spdy Clients 24 | These pages are works in progress that have not been moved to their respective sections yet. 25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/development/clients/spdy/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Sample Title 23 | This is a sample paragraph. 24 |
25 | Sample Subsection 26 | More sample text. 27 |
28 |
29 | -------------------------------------------------------------------------------- /src/docbkx/development/clients/websocket/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Websocket Clients 24 | These pages are works in progress that have not been moved to their respective sections yet. 25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/development/clients/websocket/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Sample Title 23 | This is a sample paragraph. 24 |
25 | Sample Subsection 26 | More sample text. 27 |
28 |
29 | -------------------------------------------------------------------------------- /src/docbkx/development/continuations/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 27 | Continuations 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/docbkx/development/debugging/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 27 | Debugging 28 |
29 | Options 30 | 31 | Given how flexible Jetty is in how it can be configured and deployed into development and production, there exists a wealth of different options for debugging your application in you favorite environment. In this section we will gather up some of these different options available and explain how you can use them. If you would like to contribute to this section simply fork the repository and contribute the information, or open a github or bugzilla issue with the information and we'll bring it over. 32 | 33 |
34 | 35 | 36 | 37 |
38 | -------------------------------------------------------------------------------- /src/docbkx/development/embedding/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 27 | Embedding 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/docbkx/development/embedding/examples/embedded-file-server.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Simple File Server 28 | 29 | This example shows how to create a simple file server in Jetty. It is perfectly suitable for test cases where you need an actual web server to obtain a file from, it could easily be configured to serve files from a directory under src/test/resources. Note that this does not have any logic for caching of files, either within the server or setting the appropriate headers on the response. It is simply a few lines that illustate how easy it is to serve out some files. 30 | 31 | 32 | <link xl:href="@GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/FileServer.java">FileServer.java</link> 33 | 34 | 35 | @GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/FileServer.java 36 | 37 | 38 | 39 |
40 | Run it! 41 | 42 | After you have started things up you should be able to navigate to http://localhost:8080/index.html (assuming one is in the resource base directory) and you are good to go. 43 | 44 |
45 |
46 | Maven Coordinates 47 | 48 | To use this example in your project you will need the following maven dependencies declared. 49 | 50 | 51 | 52 | 54 | org.eclipse.jetty 55 | jetty-server 56 | ${project.version} 57 | 58 | ]]> 59 | 60 | 61 |
62 |
63 | -------------------------------------------------------------------------------- /src/docbkx/development/embedding/examples/embedded-one-webapp.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Web Application 28 | 29 | This example shows how to deploy a simple webapp with an embedded instance of jetty. This is useful when you want to manage the lifecycle of a server programmatically, either within a production application or as a simple way to deploying and debugging a full scale application deployement. In many ways it is easier then traditional deployment since you control the classpath yourself, making this easy to wire up in a test case in maven and issue requests using your favorite http client library (like our Jetty client found in ). 30 | 31 | 32 | <link xl:href="@GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/OneWebApp.java">OneWebApp.java</link> 33 | 34 | 35 | @GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/OneWebApp.java 36 | 37 | 38 | 39 |
40 | Run it! 41 | 42 | After you have started things up you should be able to navigate to http://localhost:8080/ and you are good to go. 43 | 44 |
45 |
46 | Maven Coordinates 47 | 48 | To use this example in your project you will need the following maven dependencies declared. 49 | 50 | 51 | 52 | 54 | org.eclipse.jetty 55 | jetty-webapp 56 | ${project.version} 57 | 58 | ]]> 59 | 60 | 61 |
62 |
63 | -------------------------------------------------------------------------------- /src/docbkx/development/embedding/examples/embedded-split-file-server.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Split File Server 28 | 29 | This example builds on the Simple File Server to show how chaining multiple ResourceHandlers together can let you aggregate mulitple directories to serve content on a single path and how you can link these together with ContextHandlers. 30 | 31 | 32 | <link xl:href="@GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/SplitFileServer.java">SplitFileServer.java</link> 33 | 34 | 35 | @GITURL@/examples/embedded/src/main/java/org/eclipse/jetty/embedded/SplitFileServer.java 36 | 37 | 38 | 39 |
40 | Run it! 41 | 42 | After you have started things up you should be able to navigate to http://localhost:8090/index.html (assuming one is in the resource base directory) and you are good to go. Any requests for files will be looked for in the first resource handler, then the second, and so on and so forth. 43 | 44 |
45 |
46 | Maven Coordinates 47 | 48 | To use this example as is in your project you will need the following maven dependencies declared. We would recommend not using the toolchain dependency in your actual application. 49 | 50 | 51 | 52 | 54 | org.eclipse.jetty 55 | jetty-server 56 | ${project.version} 57 | 58 | 59 | org.eclipse.jetty.toolchain 60 | jetty-test-helper 61 | 2.2 62 | 63 | ]]> 64 | 65 | 66 |
67 |
68 | -------------------------------------------------------------------------------- /src/docbkx/development/frameworks/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Frameworks 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/docbkx/development/handlers/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Handlers 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/development/maven/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 29 | Maven and Jetty 30 | 31 | This chapter explains how to use Jetty with Maven and the Jetty Maven 32 | plugin. 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/java/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Java Websocket API 24 | JSR-356 These pages are works in progress that have not been moved to their respective sections yet. 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/java/java-websocket-client-api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Java WebSocket Client API Usage 23 |
24 | Java WebSocket Client API 25 | The simpler way to perform a websocket request is the following: 26 |
27 |
28 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/java/java-websocket-server-api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Java WebSocket Server API 23 |
24 | Java WebSocket Server API 25 | The simpler way to perform a websocket request is the following: 26 |
27 |
28 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Jetty Websocket API 24 | These pages are works in progress that have not been moved to their respective sections yet. 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/jetty-websocket-api-adapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Using the WebSocketAdapter 28 | 29 | A basic adapter for managing the Session object on the 30 | WebSocketListener. 31 | 32 | 33 | AdapterEchoSocket.java 34 | 35 | @GITURL@/jetty-websocket/websocket-common/src/test/java/examples/echo/AdapterEchoSocket.java 36 | 37 | 38 | This is a convenience class to make using the WebSocketListener 39 | easier, and provides some useful methods to check the state of the 40 | Session. 41 |
42 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/jetty-websocket-api-listener.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Using WebSocketListener 28 | 29 | The basic form of a WebSocket using the org.eclipse.jetty.websocket.api.WebSocketListener 31 | for incoming events. 32 | 33 | 34 | ListenerEchoSocket.java 35 | 36 | @GITURL@/jetty-websocket/websocket-common/src/test/java/examples/echo/ListenerEchoSocket.java 37 | 38 | 39 | This is by far the most basic and best performing (speed and memory 40 | wise) WebSocket implementation you can create. If the listener is too much 41 | work for you, you can instead opt for the WebSocketAdapter 42 | 43 |
44 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/jetty-websocket-api-session.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | WebSocket Session 28 | 29 | The Session 31 | object can be used to: 32 | 33 | 34 | Access State of WebSocket 35 | 36 | The Connection State (is it open or not) 37 | 38 | 41 | 42 | Is the Connection Secure. 43 | 44 | 47 | 48 | What was in the Upgrade Request and Response. 49 | 50 | 55 | 56 | What is the Local and Remote Address. 57 | 58 | 59 | 60 | 61 | 62 | Configure Policy 63 | 64 | Get and Set the Idle Timeout 65 | 66 | 67 | 68 | Get and Set the Maximum Message Size 69 | 70 | 71 | 72 |
73 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/jetty-websocket-api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Jetty WebSocket API Usage 28 | 29 | Jetty provides its own more powerful WebSocket API, with a common core 30 | API for both server and client use of WebSockets. 31 | 32 | It is an event driven API based on WebSocket Messages. 33 | 34 |
35 | -------------------------------------------------------------------------------- /src/docbkx/development/websockets/jetty/jetty-websocket-client-api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
28 | Jetty WebSocket Client API 29 | 30 | Jetty also provides a Jetty WebSocket Client Library to write make 31 | talking to WebSocket servers easier. 32 | 33 | To use the Jetty WebSocket Client on your own Java project you will 34 | need the following maven artifacts. 35 | 36 | 37 | org.eclipse.jetty.websocket 38 | websocket-client 39 | ${project.version} 40 | ]]> 41 | 42 |
43 | The WebSocketClient 44 | 45 | To use the WebSocketClient you will need to hook up a WebSocket 46 | object instance to a specific destination WebSocket URI. 47 | 48 | 49 | SimpleEchoClient.java 50 | 51 | @GITURL@/jetty-websocket/websocket-client/src/test/java/examples/SimpleEchoClient.java 52 | 53 | 54 | The above example connects to a remote WebSocket server and hands 55 | off a SimpleEchoSocket to perform the logic on the websocket once 56 | connected, waiting for the socket to register that it has closed. 57 | 58 | 59 | SimpleEchoSocket.java 60 | 61 | @GITURL@/jetty-websocket/websocket-client/src/test/java/examples/SimpleEchoSocket.java 62 | 63 | 64 | When the SimpleEchoSocket connects, it sends 2 Text messages and 65 | then closes the socket. 66 | 67 | The onMessage(String msg) receives the responses from the remote 68 | server WebSocket and outputs them to the console. 69 |
70 |
71 | -------------------------------------------------------------------------------- /src/docbkx/font/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/font/FontAwesome.otf -------------------------------------------------------------------------------- /src/docbkx/font/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/font/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/docbkx/font/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/font/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/docbkx/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/docbkx/images/Jetty_DeployManager_AppLifeCycle-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/Jetty_DeployManager_AppLifeCycle-1.png -------------------------------------------------------------------------------- /src/docbkx/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png -------------------------------------------------------------------------------- /src/docbkx/images/Jetty_DeployManager_DeploymentManager_Roles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/Jetty_DeployManager_DeploymentManager_Roles.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-connectors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-connectors.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-handlers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-handlers.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-nested-handlers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-nested-handlers.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-patterns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-patterns.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-servlet-handler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-servlet-handler.png -------------------------------------------------------------------------------- /src/docbkx/images/basic-architecture-web-application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/basic-architecture-web-application.png -------------------------------------------------------------------------------- /src/docbkx/images/caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/caution.png -------------------------------------------------------------------------------- /src/docbkx/images/caution.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/images/chrome_net_internals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/chrome_net_internals.png -------------------------------------------------------------------------------- /src/docbkx/images/debug-eclipse-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/debug-eclipse-1.png -------------------------------------------------------------------------------- /src/docbkx/images/debug-eclipse-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/debug-eclipse-2.png -------------------------------------------------------------------------------- /src/docbkx/images/debug-eclipse-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/debug-eclipse-3.png -------------------------------------------------------------------------------- /src/docbkx/images/draft-ribbon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/draft-ribbon.png -------------------------------------------------------------------------------- /src/docbkx/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/favicon.ico -------------------------------------------------------------------------------- /src/docbkx/images/important.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/important.png -------------------------------------------------------------------------------- /src/docbkx/images/important.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/docbkx/images/intellij_debug_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/intellij_debug_view.png -------------------------------------------------------------------------------- /src/docbkx/images/intellij_new_remote_config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/intellij_new_remote_config.png -------------------------------------------------------------------------------- /src/docbkx/images/intellij_select_debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/intellij_select_debug.png -------------------------------------------------------------------------------- /src/docbkx/images/intellij_set_breakpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/intellij_set_breakpoint.png -------------------------------------------------------------------------------- /src/docbkx/images/jconsole1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jconsole1.jpg -------------------------------------------------------------------------------- /src/docbkx/images/jconsole2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jconsole2.jpg -------------------------------------------------------------------------------- /src/docbkx/images/jetty-header-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jetty-header-logo.png -------------------------------------------------------------------------------- /src/docbkx/images/jetty-high-level-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jetty-high-level-architecture.png -------------------------------------------------------------------------------- /src/docbkx/images/jetty-logo-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jetty-logo-shadow.png -------------------------------------------------------------------------------- /src/docbkx/images/jetty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/jetty.gif -------------------------------------------------------------------------------- /src/docbkx/images/modules-9.3-simplified.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/modules-9.3-simplified.png -------------------------------------------------------------------------------- /src/docbkx/images/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/note.png -------------------------------------------------------------------------------- /src/docbkx/images/note.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | ]> 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/docbkx/images/tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/tip.png -------------------------------------------------------------------------------- /src/docbkx/images/tip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/docbkx/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/warning.png -------------------------------------------------------------------------------- /src/docbkx/images/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | ]> 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/docbkx/images/windows-service-jetty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jetty-project/jetty-documentation/0cd1932e1629ced3815ac7e5afc3a14bdfb58293/src/docbkx/images/windows-service-jetty.png -------------------------------------------------------------------------------- /src/docbkx/incoming/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Incoming Documentation 24 | These pages are works in progress that have not been moved to their respective sections yet. 25 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/incoming/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Sample Title 23 | This is a sample paragraph. 24 |
25 | Sample Subsection 26 | More sample text. 27 |
28 |
29 | -------------------------------------------------------------------------------- /src/docbkx/js/shAutoloader.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d)/g 47 | }); 48 | }; 49 | 50 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 51 | Brush.aliases = ['java']; 52 | 53 | SyntaxHighlighter.brushes.Java = Brush; 54 | 55 | // CommonJS 56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 57 | })(); 58 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushJavaFX.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Patrick Webster 25 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html 26 | var datatypes = 'Boolean Byte Character Double Duration ' 27 | + 'Float Integer Long Number Short String Void' 28 | ; 29 | 30 | var keywords = 'abstract after and as assert at before bind bound break catch class ' 31 | + 'continue def delete else exclusive extends false finally first for from ' 32 | + 'function if import in indexof init insert instanceof into inverse last ' 33 | + 'lazy mixin mod nativearray new not null on or override package postinit ' 34 | + 'protected public public-init public-read replace return reverse sizeof ' 35 | + 'step super then this throw true try tween typeof var where while with ' 36 | + 'attribute let private readonly static trigger' 37 | ; 38 | 39 | this.regexList = [ 40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, 41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, 42 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 44 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers 45 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes 46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } 47 | ]; 48 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 49 | }; 50 | 51 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 52 | Brush.aliases = ['jfx', 'javafx']; 53 | 54 | SyntaxHighlighter.brushes.JavaFX = Brush; 55 | 56 | // CommonJS 57 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 58 | })(); 59 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushPlain.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | }; 25 | 26 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 27 | Brush.aliases = ['text', 'plain']; 28 | 29 | SyntaxHighlighter.brushes.Plain = Brush; 30 | 31 | // CommonJS 32 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 33 | })(); 34 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushPython.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Gheorghe Milas and Ahmad Sherif 25 | 26 | var keywords = 'and assert break class continue def del elif else ' + 27 | 'except exec finally for from global if import in is ' + 28 | 'lambda not or pass print raise return try yield while'; 29 | 30 | var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' + 31 | 'chr classmethod cmp coerce compile complex delattr dict dir ' + 32 | 'divmod enumerate eval execfile file filter float format frozenset ' + 33 | 'getattr globals hasattr hash help hex id input int intern ' + 34 | 'isinstance issubclass iter len list locals long map max min next ' + 35 | 'object oct open ord pow print property range raw_input reduce ' + 36 | 'reload repr reversed round set setattr slice sorted staticmethod ' + 37 | 'str sum super tuple type type unichr unicode vars xrange zip'; 38 | 39 | var special = 'None True False self cls class_'; 40 | 41 | this.regexList = [ 42 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, 43 | { regex: /^\s*@\w+/gm, css: 'decorator' }, 44 | { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, 45 | { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, 46 | { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, 47 | { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, 48 | { regex: /\b\d+\.?\w*/g, css: 'value' }, 49 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 50 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, 51 | { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } 52 | ]; 53 | 54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 55 | }; 56 | 57 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 58 | Brush.aliases = ['py', 'python']; 59 | 60 | SyntaxHighlighter.brushes.Python = Brush; 61 | 62 | // CommonJS 63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 64 | })(); 65 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushRuby.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Erik Peterson. 25 | 26 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' + 27 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' + 28 | 'self super then throw true undef unless until when while yield'; 29 | 30 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' + 31 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' + 32 | 'ThreadGroup Thread Time TrueClass'; 33 | 34 | this.regexList = [ 35 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 38 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants 39 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols 40 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 42 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins 43 | ]; 44 | 45 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['ruby', 'rails', 'ror', 'rb']; 50 | 51 | SyntaxHighlighter.brushes.Ruby = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushScala.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Yegor Jbanov and David Bernard. 25 | 26 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' + 27 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' + 28 | 'else do if return protected private this package false'; 29 | 30 | var keyops = '[_:=><%#@]+'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 35 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings 36 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 40 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword 41 | ]; 42 | } 43 | 44 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 45 | Brush.aliases = ['scala']; 46 | 47 | SyntaxHighlighter.brushes.Scala = Brush; 48 | 49 | // CommonJS 50 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 51 | })(); 52 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushSql.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var funcs = 'abs avg case cast coalesce convert count current_timestamp ' + 25 | 'current_user day isnull left lower month nullif replace right ' + 26 | 'session_user space substring sum system_user upper user year'; 27 | 28 | var keywords = 'absolute action add after alter as asc at authorization begin bigint ' + 29 | 'binary bit by cascade char character check checkpoint close collate ' + 30 | 'column commit committed connect connection constraint contains continue ' + 31 | 'create cube current current_date current_time cursor database date ' + 32 | 'deallocate dec decimal declare default delete desc distinct double drop ' + 33 | 'dynamic else end end-exec escape except exec execute false fetch first ' + 34 | 'float for force foreign forward free from full function global goto grant ' + 35 | 'group grouping having hour ignore index inner insensitive insert instead ' + 36 | 'int integer intersect into is isolation key last level load local max min ' + 37 | 'minute modify move name national nchar next no numeric of off on only ' + 38 | 'open option order out output partial password precision prepare primary ' + 39 | 'prior privileges procedure public read real references relative repeatable ' + 40 | 'restrict return returns revoke rollback rollup rows rule schema scroll ' + 41 | 'second section select sequence serializable set size smallint static ' + 42 | 'statistics table temp temporary then time timestamp to top transaction ' + 43 | 'translation trigger true truncate uncommitted union unique update values ' + 44 | 'varchar varying view when where with work'; 45 | 46 | var operators = 'all and any between cross in join like not null or outer some'; 47 | 48 | this.regexList = [ 49 | { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments 50 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 51 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 52 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions 53 | { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such 54 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 55 | ]; 56 | }; 57 | 58 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 59 | Brush.aliases = ['sql']; 60 | 61 | SyntaxHighlighter.brushes.Sql = Brush; 62 | 63 | // CommonJS 64 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 65 | })(); 66 | 67 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushVb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + 25 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + 26 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + 27 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + 28 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + 29 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + 30 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + 31 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + 32 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + 33 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + 34 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + 35 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + 36 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + 37 | 'Variant When While With WithEvents WriteOnly Xor'; 38 | 39 | this.regexList = [ 40 | { regex: /'.*$/gm, css: 'comments' }, // one line comments 41 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 42 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 43 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword 44 | ]; 45 | 46 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 47 | }; 48 | 49 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 50 | Brush.aliases = ['vb', 'vbnet']; 51 | 52 | SyntaxHighlighter.brushes.Vb = Brush; 53 | 54 | // CommonJS 55 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 56 | })(); 57 | -------------------------------------------------------------------------------- /src/docbkx/js/shBrushXml.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function process(match, regexInfo) 25 | { 26 | var constructor = SyntaxHighlighter.Match, 27 | code = match[0], 28 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code), 29 | result = [] 30 | ; 31 | 32 | if (match.attributes != null) 33 | { 34 | var attributes, 35 | regex = new XRegExp('(? [\\w:\\-\\.]+)' + 36 | '\\s*=\\s*' + 37 | '(? ".*?"|\'.*?\'|\\w+)', 38 | 'xg'); 39 | 40 | while ((attributes = regex.exec(code)) != null) 41 | { 42 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1')); 43 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string')); 44 | } 45 | } 46 | 47 | if (tag != null) 48 | result.push( 49 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword') 50 | ); 51 | 52 | return result; 53 | } 54 | 55 | this.regexList = [ 56 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // 57 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // 58 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process } 59 | ]; 60 | }; 61 | 62 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 63 | Brush.aliases = ['xml', 'xhtml', 'xslt', 'html']; 64 | 65 | SyntaxHighlighter.brushes.Xml = Brush; 66 | 67 | // CommonJS 68 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 69 | })(); 70 | -------------------------------------------------------------------------------- /src/docbkx/js/shLegacy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?\\\\w+)\\\\]$","U"),i=1,p=0;p 2 | 19 | 29 | Jetty Configuration Introduction 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/docbkx/quick-start/getting-started/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 29 | Using Jetty Introduction 30 | 31 | You can use Jetty in many different ways, ranging from embedding Jetty 32 | in applications, launching it from different build systems, from different 33 | JVM-based languages, or as a standalone distribution. This guide covers the 34 | latter, a standalone distribution suitable for deploying web 35 | applications. 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /src/docbkx/quick-start/introduction/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 28 | Introducing Jetty 29 | 30 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /src/docbkx/quick-start/introduction/what-is-jetty.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
23 | What is Jetty? 24 | Jetty is an open-source project providing an HTTP server, HTTP client, and javax.servlet container. 25 | This guide is in two parts. 26 | 27 | The first part emphasizes beginning to use Jetty. It provides information about downloading Jetty, changing things like the port Jetty runs on, adjusting logging levels, and configuring 28 | many of the most common servlet container features such as JNDI, JMX, and session management. 29 | The second part describes advanced uses of Jetty, providing in depth coverage of specific features like our highly scalable async client, proxy 30 | servlet configuration, the Jetty Maven plugin, and using Jetty as an embedded server. The advanced 31 | section includes tutorials, howtos, videos, and reference materials. 32 | 33 |
34 | -------------------------------------------------------------------------------- /src/docbkx/reference/architecture/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Architecture 24 | General items related to the architecture of jetty and how it deals with certain design decisions. 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/docbkx/reference/contributing/bugs.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
27 | Issues, Features, and Bugs 28 | 29 | As with any constantly evolving software project, there will be 30 | issues, features, and bugs. We want to know whats bugging you! 31 | 32 | File bugs under the RT/Jetty section of Bugzilla at Eclipse.org 33 | 34 | Use the 35 | Guided Bug Reporting Link. 36 | 37 |
38 | -------------------------------------------------------------------------------- /src/docbkx/reference/contributing/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 28 | Contributing to Jetty 29 | 30 | There are many ways to contribute to Jetty, from hardened developers 31 | looking to sharpen their skills to neophytes interested in working with an 32 | open source project for the first time. Here we show ways to interact with 33 | the Jetty community, give feedback to the developers and contribute patches 34 | to both core Jetty code and even this document. 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/docbkx/reference/faq/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Frequently Asked Questions 24 |
25 | 26 |
27 |
28 | -------------------------------------------------------------------------------- /src/docbkx/reference/jetty-xml/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Reference Section 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/docbkx/reference/platforms/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 28 | Platforms, Stacks and Alternative Distributions 29 |
30 | Many many options... 31 | 32 | In addition to using Jetty in its distribution form and its multiple embedded forms, there are a number of alterative ways to use Jetty. Many products and open source projects out there distribute Jetty themselves, in both distribution and embedded forms, not to mention different operativing systems bundling Jetty in other installable forms. 33 | 34 | 35 | If your platform supports Jetty from a distributon or deployment perspective and want to be included on this list just fork the documentation and submit a pull request, or contact us. Check out our list of Powered By page for software that makes use of Jetty, often in novel and exciting ways. 36 | 37 |
38 | 39 | 40 | 41 | 42 | 43 | 47 |
48 | -------------------------------------------------------------------------------- /src/docbkx/reference/platforms/fedora.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
26 | Fedora 27 | 28 | As of Fedora 19, Jetty 9 is the version of Jetty available. This distribution of Jetty is not created or maintained by the Jetty project though we have had a fair amount of communication with the folks behind it and we are very pleased with how this Linux distribution has stayed current. Releases are kept largely in sync with our releases as there is a wonderful automatic notification mechanism in place for Fedora that detects our releases and immediately opens an issue for them to update. 29 | 30 | 31 | 32 | 33 | Jetty on Fedora 34 | 35 | 36 | 37 |
38 | -------------------------------------------------------------------------------- /src/docbkx/reference/platforms/jelastic.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
26 | Jelastic 27 | 28 | Jelastic is a wonderful place to host your applications with solid support for Jetty. As a cloud hosting platfrom they take the majority of configuration and installation details out of the picture and focus on letting you focus on your web application. 29 | 30 | 31 | 32 | 33 | Why Jelastic? 34 | 35 | 36 | 37 | 38 | Jetty Hosting 39 | 40 | 41 | 42 |
43 | -------------------------------------------------------------------------------- /src/docbkx/reference/platforms/ubuntu.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
26 | Ubuntu 27 | 28 | Currently there are no actual .deb files available for installing on Debain based Linux machines but there is a handy blog that as been largely been kept up to date on the steps involved through the comments. 29 | 30 | 31 | 32 | 33 | Install Jetty9 on Ubuntu 34 | 35 | 36 | 37 |
38 | -------------------------------------------------------------------------------- /src/docbkx/reference/troubleshooting/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 23 | Troubleshooting 24 | This is a collection of helpful tricks and tips that we have come across to address odd issues that might arise. 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /src/docbkx/reference/upgrading/chapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 27 | Upgrading Jetty 28 | 29 |
30 | TBD 31 | 32 | tbd 33 |
34 |
35 | -------------------------------------------------------------------------------- /src/docbkx/reference/upgrading/sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 |
22 | Sample Title 23 | This is a sample paragraph. 24 |
25 | Sample Subsection 26 | More sample text. 27 |
28 |
29 | -------------------------------------------------------------------------------- /src/docbkx/sed-tasks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | find . -name "*.xml" -exec sed -i -f tasks.sed {} \; 4 | 5 | -------------------------------------------------------------------------------- /src/docbkx/tasks.sed: -------------------------------------------------------------------------------- 1 | 2 | s/jetty-distribution-[7-9].[0-3].[0-9]*.[v0-9RCM]*/jetty-distribution-@project.version@/g 3 | s/jetty-\([a-z-]*\)-[7-9]\.[0-3]\.[0-9]*\.[v0-9RCM]*\.jar/jetty-\1-@project.version@.jar/g 4 | s/@project.version@DEMO/@project.version@/g 5 | s/9\.1\.0\.RC0/@project.version@/g 6 | s/9\.1\.0\.RC1/@project.version@/g 7 | s/9\.1\.0-DEMO/@project.version@/g 8 | s/Server:.*jetty-${project.version}/Server:main: jetty-@project.version@/g 9 | s@/Users/jesse/Desktop/jetty-dist@/home/user/jetty-dist/@g 10 | s@/home/joakim/java/@/usr/lib/jvm/@g 11 | s@/home/user/java/@/usr/lib/jvm/@g 12 | s@/home/joakim/code/intalio/distros/@/home/user/@g 13 | s@/home/joakim/@/home/user/@g 14 | s@xml version="1.0" *encoding="ISO-8859-1"@xml version="1.0" encoding="UTF-8"@g 15 | 16 | -------------------------------------------------------------------------------- /src/docbkx/txt-to-screen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TXTNAME="$1" 4 | XMLNAME="screen-${TXTNAME//.txt}.xml" 5 | 6 | cat << PREAMBLE > "$XMLNAME" 7 | 8 | 9 | 15 | PREAMBLE 16 | 17 | cat "${TXTNAME}" | sed \ 18 | -e "s@/home/joakim/java/jvm@/lib/jvm@g" \ 19 | -e "s@/home/joakim/code/.*/jetty-distribution/target/distribution@/opt/jetty-distribution@g" \ 20 | -e "s@/home/joakim/code/.*/target/mybase@/home/jetty/mybase@g" \ 21 | -e "s/9.3.0-SNAPSHOT/@project.version@/g" \ 22 | -e "/jetty.tag.version = master/d" \ 23 | -e "s/[<]/\</g" -e "s/[>]/\>/g" \ 24 | >> "${XMLNAME}" 25 | 26 | echo "" >> "$XMLNAME" 27 | 28 | echo "Created: $XMLNAME" 29 | 30 | -------------------------------------------------------------------------------- /src/main/assembly/html.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | html 4 | 5 | zip 6 | 7 | 8 | 9 | ${project.basedir}/target/docbkx/html/jetty 10 | ${version} 11 | 12 | ** 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/filters/jetty.properties: -------------------------------------------------------------------------------- 1 | JDURL http://download.eclipse.org/jetty/stable-9/apidocs 2 | JXURL http://download.eclipse.org/jetty/stable-9/xref 3 | GITURL https://raw.githubusercontent.com/eclipse/jetty.project/master 4 | GITBROWSEURL https://github.com/eclipse/jetty.project/blob/master 5 | -------------------------------------------------------------------------------- /src/xsd/catalog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | --------------------------------------------------------------------------------