Class AsyncProxyServlet

    • Constructor Detail

      • AsyncProxyServlet

        public AsyncProxyServlet()
    • Method Detail

      • proxyRequestContent

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

        protected javax.servlet.ReadListener newReadListener​(javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response,
                                                             Request proxyRequest,
                                                             DeferredContentProvider provider)
      • onResponseContent

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