Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The jetty infrastructure can be use to test servlets with an embedded server configured by the ServletTester class. The HTTP requests and responses for testing can be generated and parsed with the HttpTester class.

The embedded server uses a special local connector, and thus avoids the need to open sockets in order to test the servlet.

An example of a test harness that uses these classes is ServletTest.

...

Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery