Added missing @Override annotations.

This commit is contained in:
Simone Bordet 2015-11-05 15:46:49 +01:00
parent 50e565bac0
commit 4cf308a7db
2 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,7 @@ public class AsyncMiddleManServlet extends AbstractProxyServlet
return new ProxyWriter(clientRequest, proxyResponse);
}
@Override
protected Response.CompleteListener newProxyResponseListener(HttpServletRequest clientRequest, HttpServletResponse proxyResponse)
{
return new ProxyResponseListener(clientRequest, proxyResponse);

View File

@ -93,6 +93,7 @@ public class ProxyServlet extends AbstractProxyServlet
return new ProxyInputStreamContentProvider(request, response, proxyRequest, request.getInputStream());
}
@Override
protected Response.Listener newProxyResponseListener(HttpServletRequest request, HttpServletResponse response)
{
return new ProxyResponseListener(request, response);