jellyfish jellyfish - 10 months ago 79
HTTP Question

Jetty Server - how to handle a GET request with parameters?

This must be awfully simple, but I didn't find an answer.

Here is an easy example on how to listen to a get request with a jetty server.

However, it doesn't cover the case that it's not just a "" request, but something like "".

So how do I get the parameters in jetty?

Answer Source

This is the API for ServletRequest. You should use: