Code example for HttpURLConnection

Methods: getPermission

0
        } catch (IOException ex) { }
        return connection.getContent(classes);
    } 
 
    public Permission getPermission() throws IOException {
        return connection.getPermission();
    } 
 
    public InputStream getInputStream() throws IOException {
        try { 
            connect(); 
        } catch (IOException ex) { }
        return connection.getInputStream();
    } 
 
    public OutputStream getOutputStream() throws IOException {
        try { 
            connect(); 
        } catch (IOException ex) { }
        return connection.getOutputStream();
    }