code: public void handle(ServerHttpRequest request, ServerHttpResponse response)
  			throws IOException {
  		try {
  			Assert.state(request.getHeaders().getContentLength() > 0, "No content");
  			ObjectInputStream objectInputStream = new ObjectInputStream(
  					request.getBody());
  			ClassLoaderFiles files = (ClassLoaderFiles) objectInputStream.readObject();
  			objectInputStream.close();
  			this.server.updateAndRestart(files);
  			response.setStatusCode(HttpStatus.OK);
  		}
  		catch (Exception ex) {
  			logger.warn("Unable to handler restart server HTTP request", ex);
  			response.setStatusCode(HttpStatus.INTERNAL_SERVER_ERROR);
  		}
  	}
docs: Handle a server request.
  @param request the request
  @param response the response
  @throws IOException in case of I/O errors