CUPRINS
1.Introducere 4
1.1. O privire de ansamblu 5
2.Clasa URL 7
2.1 Constructori 7
2.2 Metode 8
2.3. Exceptii I/O 10
2.4.Malformed URLException 10
3. Folosirea clasei URL 11
4.Clasa URLConnection 12
4.1 Constructori 12
4.2 Metode 12
4.3 Metode statice 16
4.4 Variabile 17
4.5 IOException 18
5.Folosirea clasei URLConnection 18
6.Clasa HttpURLConnection 19
6.1 Constructori 20
6.2 Metode 20
6.3 Metode statice 21
6.4 Variabile 21
6.5 Variabile statice 21
6.6. Exemplu: 23
7.Interfata URLStreamHandlerFactory 23
7.1.Metode 23
7.2.Protocoale handler implicite. 24
8.Clasa URLStreamHandler 24
8.1.Metode 25
9.Interfata ContentHandlerFactory 25
9.1.Metode 25
9.2.Continuturile handler implicite. 26
10.Clasa ContentHandler 26
10.1.Metode 27
11. Protocolul HTTP handler 27
11.1.Clasa URLStreamHandlerFactoryImpl 27
11.2.Clasa HTTPURLStreamHandler 28
11.3.Clasa HTTPURLConnection 28
12.Handlere de continut pentru texte simple 33
12.1.Clasa ContentHandlerFactoryImpl 33
12.2.Clasa TextPlainContentHandler 34
12.3.Clasa PageViewer 35
13. Protocolul handler finger 36
13.1.Clasa FingerURLStreamHandler 36
13.2. Clasa FingerURLConnection 37
13.3. Clasa ReaderInputStream 38
13.4.Clasa RawFingerURLStreamHandler 41
14.Clasa URLEncoder 43
14.1.Metode statice 44
15.Clasa URLDecoder 44
15.1.Metode statice 44
16.Concluzie 45
17.Aplicatia - Utilitar adrese Internet 45