Message-ID: <1547035424.12757.1416793278521.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_12756_2090716634.1416793278520" ------=_Part_12756_2090716634.1416793278520 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Jetty is configured by dependency injection into the Jetty components. T= he root component of Jetty is Server, on which you can set an array of Connector instances and an array = of Handler inst= ances. Each specific type of connector and handler will have it's own sette= rs and getters for configuration.=20
Serverwill have a single
Connectorinsta= nce, probably a SelectChannelConnector.
Connectorwill have a port set on it.
Serverwill have one or more handlers. Typically these= will be instances of ContextHandler that wrap other Handler instances for = a given context path.
ContextHandlerwill be configured with a contextPath a= nd wrapped handler for the context.
ContextHandlermay be configured with ResourceBase, Cl= assLoader, VirtualHosts, etc.
ContextHandlermay be an instance of WebAppContext which= configures itself from the
WEB-INF/web.xml file found within = the configured ResourceBase and will contain a SessionHandler, which will c= ontain a SecurityHandler, which will contain a ServletHandler
ContextHandlermay contain a
ServletHandler, which will contain:=20
All these components have setters and getters for configuration. These m= ay be configured by:=20