Writing a Jetty Handler
The Many users of Jetty will not ever need to write a Jetty Handler, but instead will simply use the Servlet API. The existing jetty handlers for context, security, sessions and servlets can be reused without the need for extension.
However, some users may have special requirements or footprint concerns that prohibit the use of the full servlet API. For them implementing a Jetty handler is a straight forward way to provide dynamic web content with a minimum of fuss.
The Handler API
The org.mortbay.jetty.Handler interface provides Jetty's core of content generation or manipulation. Classes that implement this interface are used to coordinate requests, filter requests and generate content.
The core API of the Handler interface is