Update NetJavaImpl.java

It needs
void wholeContentRecived(byte[] content); in interface HttpResponseListener and
void cancelRequest(); in interface HttpResponse