class GetSyncing implements Handler {

  @OpenApi(
      deprecated = true,
      path = ROUTE,
      method = HttpMethod.GET,
      summary = "Get synchronization status.",
      tags = {TAG_NODE},
      description =
          "Returns an object with data about the synchronization status, or false if not synchronizing. "
              + "Replaced by standard api endpoint `/eth/v1/node/syncing`.",
      responses = {
        @OpenApiResponse(status = RES_OK, content = @OpenApiContent(from = SyncingStatus.class)),
        @OpenApiResponse(status = RES_INTERNAL_ERROR)
      })
  @Override
  public void handle(Context ctx) throws Exception {
    ctx.header(CACHE_CONTROL, CACHE_NONE);
    final SyncingStatus syncingStatus = syncDataProvider.getSyncStatus();
    ctx.result(jsonProvider.objectToJSON(syncingStatus));
  }

  public  GetSyncing(SyncDataProvider syncDataProvider, JsonProvider jsonProvider);

}