@Override
    protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException {
        try (final PrintWriter printWriter = response.getWriter()) {
            response.setContentType("application/json");
            response.setCharacterEncoding(StandardCharsets.UTF_8.name());
            response.setStatus(200);

            new ObjectMapper().writeValue(printWriter, buildInfoProvider.get());
        } catch (final IOException e) {
            LOGGER.error("Error retrieving stroom status", e);
            throw new ServletException("Error retrieving stroom status");
        }
    }
Public un-authenticated servlet for client systems to monitor stroom-proxy's availability.
stroom-proxy/stroom-proxy-app/src/main/java/stroom/proxy/app/servlet/ProxyStatusServlet.java