Message-ID: <5451540.31641.1408701048878.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_31640_429829264.1408701048877" ------=_Part_31640_429829264.1408701048877 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