docs: protected final StringBuilder getBaseUrl(final HttpServletRequest httpServletRequest) {
          StringBuilder baseURL = new StringBuilder();
          if (httpServletRequest.getContextPath() != null && !httpServletRequest.getContextPath().isEmpty()) {
              baseURL.append(httpServletRequest.getContextPath());
          }
          if (httpServletRequest.getServletPath() != null && !httpServletRequest.getServletPath().isEmpty()) {
              baseURL.append(httpServletRequest.getServletPath());
          }
          return baseURL;
      }