public HTTPSocket(HTTPSocket socket) {
   setSocket(socket.getSocket());
   setInputStream(socket.getInputStream());
   setOutputStream(socket.getOutputStream());
 }
示例#2
0
 public HTTPResponse(HTTPSocket httpsocket) {
   this(httpsocket.getInputStream());
 }
 protected boolean set(HTTPSocket httpSock) {
   return set(httpSock.getInputStream());
 }