code: public static JettyServerContract launchServerContract(int port, HttpObject... objects){
          JettyServerContract server = new JettyServerDelegate(new Server(port));
          server.setHandler(new HttpObjectsJettyHandler(Collections.singletonList(new GenericHeaderField("Cache-Control", "no-cache")), objects));
          server.start();
          return server;
      }
docs: Replaced checked exceptions with unchecked exceptions.