All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sics.agentbase.net.StreamURLConnection

java.lang.Object
   |
   +----java.net.URLConnection
           |
           +----sics.agentbase.net.StreamURLConnection

public class StreamURLConnection
extends URLConnection

Constructor Index

 o StreamURLConnection(InputStream)
 o StreamURLConnection(URL)

Method Index

 o connect()
 o getContentLength()
 o getContentType()
 o getInputStream()
 o setContentLength(int)
 o setContentType(String)
 o setInputStream(InputStream)

Constructors

 o StreamURLConnection
 public StreamURLConnection(URL u)
 o StreamURLConnection
 public StreamURLConnection(InputStream stream)

Methods

 o setInputStream
 public void setInputStream(InputStream stream)
 o getContentType
 public String getContentType()
Overrides:
getContentType in class URLConnection
 o setContentType
 public void setContentType(String contentType)
 o getContentLength
 public int getContentLength()
Overrides:
getContentLength in class URLConnection
 o setContentLength
 public void setContentLength(int contentLength)
 o connect
 public synchronized void connect() throws IOException
Overrides:
connect in class URLConnection
 o getInputStream
 public synchronized InputStream getInputStream() throws IOException
Overrides:
getInputStream in class URLConnection

All Packages  Class Hierarchy  This Package  Previous  Next  Index