/[classpath]/classpath/java/net/URLConnection.java
ViewVC logotype

Diff of /classpath/java/net/URLConnection.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by mkoch, Sat Jun 7 21:19:02 2003 UTC revision 1.18 by mkoch, Sat Sep 20 07:55:55 2003 UTC
# Line 508  public abstract class URLConnection Line 508  public abstract class URLConnection
508     */     */
509    public InputStream getInputStream() throws IOException    public InputStream getInputStream() throws IOException
510    {    {
511      return(null);      // Subclasses for specific protocols override this.
512        throw new UnknownServiceException("Protocol " + url.getProtocol() +
513                            " does not support input.");
514    }    }
515    
516    /**    /**
# Line 522  public abstract class URLConnection Line 524  public abstract class URLConnection
524     */     */
525    public OutputStream getOutputStream() throws IOException    public OutputStream getOutputStream() throws IOException
526    {    {
527      return(null);      // Subclasses for specific protocols override this.
528        throw new UnknownServiceException("Protocol " + url.getProtocol() +
529                            " does not support output.");
530    }    }
531    
532    /**    /**
# Line 732  public abstract class URLConnection Line 736  public abstract class URLConnection
736     * @param value The value of the property     * @param value The value of the property
737     *     *
738     * @see URLConnection#getRequestProperty(String key)     * @see URLConnection#getRequestProperty(String key)
739     * @see URLConnection#setRequestProperty(String key, String value)     * @see URLConnection#addRequestProperty(String key, String value)
740     *     *
741     * @since 1.4     * @since 1.4
742     */     */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26