예제 #1
0
 public HTTPSocket(HTTPSocket socket) {
   setSocket(socket.getSocket());
   setInputStream(socket.getInputStream());
   setOutputStream(socket.getOutputStream());
 }
예제 #2
0
 public HTTPSocket(Socket socket) {
   setSocket(socket);
   open();
 }