Versions Compared

Key

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

...

The viewerproxy uses the Jetty HTTP server library to handle connections. Each incoming URL is sent through a pipeline of "resolvers", each of which can either process the URL or pass it on to the next resolver. Each resolver must extend the abstract class

Code Block
CommandResolver

. The executeCommand method should must be overridden to handle requests, and should return true if the requests was handled by this resolver. The resolver is responsible for calling response.setStatus to set the appropriate HTTP result code.

...