Class ProxyServlet

    • Constructor Detail

      • ProxyServlet

        public ProxyServlet()
    • Method Detail

      • service

        protected void service​(javax.servlet.http.HttpServletRequest request,
                               javax.servlet.http.HttpServletResponse response)
                        throws javax.servlet.ServletException,
                               java.io.IOException
        Overrides:
        service in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • proxyRequestContent

        protected ContentProvider proxyRequestContent​(javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response,
                                                      Request proxyRequest)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • onResponseContent

        protected void onResponseContent​(javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.http.HttpServletResponse response,
                                         Response proxyResponse,
                                         byte[] buffer,
                                         int offset,
                                         int length,
                                         Callback callback)