Class GrafanaProxy

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    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.ProxyInputStreamContentProvider, 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​(javax.servlet.http.HttpServletRequest clientRequest, org.eclipse.jetty.client.api.Request proxyRequest)  
      void init​(javax.servlet.ServletConfig config)  
      protected void onProxyResponseFailure​(javax.servlet.http.HttpServletRequest clientRequest, javax.servlet.http.HttpServletResponse proxyResponse, org.eclipse.jetty.client.api.Response serverResponse, java.lang.Throwable failure)  
      void service​(javax.servlet.http.HttpServletRequest req, javax.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, addXForwardedHeaders, clientRequestStatus, copyRequestHeaders, createHttpClient, createLogger, destroy, expects100Continue, filterServerResponseHeader, findConnectionHeaders, getBlackListHosts, getHostHeader, getHttpClient, getRequestId, getTimeout, getViaHost, getWhiteListHosts, hasContent, init, newHttpClient, onClientRequestFailure, onProxyResponseSuccess, onProxyRewriteFailed, onServerResponseHeaders, proxyResponseStatus, sendProxyRequest, sendProxyResponseError, setTimeout, validateDestination
      • Methods inherited from class javax.servlet.http.HttpServlet

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

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • init

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

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

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

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