docs: private void logRequestHistory(HttpMethod httpMethodProxyRequest, PluginResponse httpServletResponse,
                                     History history) {
          try {
              if (requestInformation.get().handle && requestInformation.get().client.getIsActive()) {
                  logger.info("Storing history");
                  String createdDate;
                  SimpleDateFormat sdf = new SimpleDateFormat();
                  sdf.setTimeZone(new SimpleTimeZone(0, "GMT"));
                  sdf.applyPattern("dd MMM yyyy HH:mm:ss");
                  createdDate = sdf.format(new Date()) + " GMT";
  
                  history.setCreatedAt(createdDate);
                  history.setRequestURL(HttpUtilities.getURL(httpMethodProxyRequest.getURI().toString()));
                  history.setRequestParams(httpMethodProxyRequest.getQueryString() == null ? ""
                                               : httpMethodProxyRequest.getQueryString());
                  history.setRequestHeaders(HttpUtilities.getHeaders(httpMethodProxyRequest));
                  history.setResponseHeaders(HttpUtilities.getHeaders(httpServletResponse));
                  history.setResponseCode(Integer.toString(httpServletResponse.getStatus()));
                  history.setResponseContentType(httpServletResponse.getContentType());
                  history.setResponseData(httpServletResponse.getContentString());
                  history.setResponseBodyDecoded(httpServletResponse.isContentDecoded());
                  HistoryService.getInstance().addHistory(history);
                  logger.info("Done storing");
              }
          } catch (URIException e) {
              e.printStackTrace();
          }
      }