 
          
         
               
            
| HTTP for Text Transport An Introduction with Examples in Java | 
| 
                      
                     Prof. David Bernstein
                      | 
| Computer Science Department | 
| bernstdh@jmu.edu | 
 
               
             
         
             
         
          
          
         
             
         
          
          
         
             
         
          
          
         
             
         
          
         connect():
      connect():
      getHeaderField(String name) returns a 
              String containing the valuegetHeaderFields() returns a 
              Map<String,List<String>>
                     getContent() gets the content (as an
              Object) based on the content typegetInputStream() gets the InputStream
                      
         