/** Get an input stream for the specified controller */ @Override public InputStream getInputStream(String p, ControllerImpl c) throws IOException { path = p; // make a new HTTP connection each time called close(); open(c.getPassword()); return input; }