    @Test
    public void testReadingResourceFromWebUsingURL() throws IOException {

        Resource resource = customServiceLoader.getResource("url:http://docs.spring.io/spring/docs/current/javadoc-api/index.html");
        InputStream inputStream = resource.getInputStream();
        BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
        String line;
        while ((line = reader.readLine()) != null) {
            System.out.println(line);
        }
        notNull(inputStream);
    }