This is a wrapper around the Jetty Server. The handlers property must be used to configure the server to do anything useful. By default a simple welcome message is returned for all requests.
Common handlers to use are:
handlers | List of Jetty Handlers. |
name | The name of service. |
port | The port number the server listens on. |
Example 1 | The simplest web server without any handlers. |
Configured By | ELEMENT |
Access | READ_WRITE |
Required | No, but pointless if missing. |
List of Jetty Handlers.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. |
The name of service. Can be any text.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No, uses a random available port. |
The port number the server listens on.
The simplest web server without any handlers.
<oddjob id="this"> <job> <web:server id="server" xmlns:web="oddjob:web"/> </job> </oddjob>