PrintWriter writer = beginHttpResponse(response, HttpServletResponse.SC_OK);
PrintWriter writer = beginHtmlResponse(response, HttpServletResponse.SC_OK);
    protected void doGet(HttpServletRequest request, HttpServletResponse response)            throws ServletException, IOException {        EndpointContext context = getContext(request);        if (context == null) {            report404(response);        } else {            PrintWriter writer = beginHttpResponse(response, HttpServletResponse.SC_OK);            String text = (String) context.get(ContextConstants.ATTR_GET_MESSAGE);            if (text == null) {                text = makeHtmlText("Alpine Endpoint");            }            writer.println(text);            writer.flush();            writer.close();        }    }