super(u);
int port; if (!connected) { port = url.getPort(); if ( port < 0) { port = defaultPort; } theConnection = new Socket(url.getHost(), port); connected = true; }
return "text/plain";
if (!connected) { connect(); } return theConnection.getInputStream();