Class GrafanaProxy

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

    public class GrafanaProxy
    extends org.eclipse.jetty.proxy.ProxyServlet.Transparent
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.proxy.ProxyServlet

        org.eclipse.jetty.proxy.ProxyServlet.ProxyInputStreamRequestContent, org.eclipse.jetty.proxy.ProxyServlet.ProxyResponseListener, org.eclipse.jetty.proxy.ProxyServlet.Transparent
      • Nested classes/interfaces inherited from class org.eclipse.jetty.proxy.AbstractProxyServlet

        org.eclipse.jetty.proxy.AbstractProxyServlet.TransparentDelegate
    • Field Summary

      • Fields inherited from class org.eclipse.jetty.proxy.AbstractProxyServlet

        _log, CLIENT_REQUEST_ATTRIBUTE, HOP_HEADERS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addProxyHeaders​(jakarta.servlet.http.HttpServletRequest clientRequest, org.eclipse.jetty.client.api.Request proxyRequest)  
      void init​(jakarta.servlet.ServletConfig config)  
      protected void onProxyResponseFailure​(jakarta.servlet.http.HttpServletRequest clientRequest, jakarta.servlet.http.HttpServletResponse proxyResponse, org.eclipse.jetty.client.api.Response serverResponse, Throwable failure)  
      void service​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)  
      • Methods inherited from class org.eclipse.jetty.proxy.ProxyServlet.Transparent

        rewriteTarget
      • Methods inherited from class org.eclipse.jetty.proxy.ProxyServlet

        newProxyResponseListener, onContinue, onResponseContent, proxyRequestContent
      • Methods inherited from class org.eclipse.jetty.proxy.AbstractProxyServlet

        addViaHeader, addViaHeader, addXForwardedHeaders, clientRequestStatus, copyRequestHeaders, createHttpClient, createLogger, destroy, expects100Continue, filterServerResponseHeader, findConnectionHeaders, getBlackListHosts, getHostHeader, getHttpClient, getRequestId, getTimeout, getViaHost, getWhiteListHosts, hasContent, init, newClientConnector, newHttpClient, newHttpClient, newProxyRequest, onClientRequestFailure, onProxyResponseSuccess, onProxyRewriteFailed, onServerResponseHeaders, proxyResponseStatus, sendProxyRequest, sendProxyResponseError, setTimeout, validateDestination
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
    • Method Detail

      • init

        public void init​(jakarta.servlet.ServletConfig config)
                  throws jakarta.servlet.ServletException
        Specified by:
        init in interface jakarta.servlet.Servlet
        Overrides:
        init in class org.eclipse.jetty.proxy.ProxyServlet.Transparent
        Throws:
        jakarta.servlet.ServletException
      • service

        public void service​(jakarta.servlet.http.HttpServletRequest req,
                            jakarta.servlet.http.HttpServletResponse res)
                     throws jakarta.servlet.ServletException,
                            IOException
        Overrides:
        service in class org.eclipse.jetty.proxy.ProxyServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • addProxyHeaders

        protected void addProxyHeaders​(jakarta.servlet.http.HttpServletRequest clientRequest,
                                       org.eclipse.jetty.client.api.Request proxyRequest)
        Overrides:
        addProxyHeaders in class org.eclipse.jetty.proxy.AbstractProxyServlet
      • onProxyResponseFailure

        protected void onProxyResponseFailure​(jakarta.servlet.http.HttpServletRequest clientRequest,
                                              jakarta.servlet.http.HttpServletResponse proxyResponse,
                                              org.eclipse.jetty.client.api.Response serverResponse,
                                              Throwable failure)
        Overrides:
        onProxyResponseFailure in class org.eclipse.jetty.proxy.AbstractProxyServlet