All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.protocol.http.HttpURLConnection

java.lang.Object
   |
   +----java.net.URLConnection
           |
           +----java.net.HttpURLConnection
                   |
                   +----w3c.www.protocol.http.HttpURLConnection

public class HttpURLConnection
extends HttpURLConnection

Variable Index

 o output
 o reply
 o request

Method Index

 o checkReply()
 o checkRequest()
 o connect()
 o debug(String)
 o disconnect()
 o error(String)
 o getContentLength()
 o getContentType()
 o getDate()
 o getDefaultRequestProperty(String)
 o getExpiration()
 o getHeaderField(int)
 o getHeaderField(String)
 o getHeaderFieldKey(int)
 o getInputStream()
 o getLastModified()
 o getOutputStream()
 o getRequestProperty(String)
 o getResponseCode()
 o setDoOutput(boolean)
 o setGlobalRequestProperty(String, String)
 o setRequestProperty(String, String)
 o usingProxy()

Variables

 o request
 protected Request request
 o reply
 protected Reply reply
 o output
 protected ByteArrayOutputStream output

Methods

 o checkRequest
 protected final synchronized void checkRequest()
 o checkReply
 protected final void checkReply()
 o error
 protected void error(String msg)
 o debug
 protected final void debug(String m)
 o usingProxy
 public boolean usingProxy()
Overrides:
usingProxy in class HttpURLConnection
 o disconnect
 public synchronized void disconnect()
Overrides:
disconnect in class HttpURLConnection
 o connect
 public void connect() throws IOException
Overrides:
connect in class URLConnection
 o getResponseCode
 public int getResponseCode() throws IOException
Overrides:
getResponseCode in class HttpURLConnection
 o getContentLength
 public int getContentLength()
Overrides:
getContentLength in class URLConnection
 o getContentType
 public String getContentType()
Overrides:
getContentType in class URLConnection
 o getExpiration
 public long getExpiration()
Overrides:
getExpiration in class URLConnection
 o getDate
 public long getDate()
Overrides:
getDate in class URLConnection
 o getLastModified
 public long getLastModified()
Overrides:
getLastModified in class URLConnection
 o getHeaderField
 public String getHeaderField(String name)
Overrides:
getHeaderField in class URLConnection
 o getHeaderFieldKey
 public String getHeaderFieldKey(int n)
Overrides:
getHeaderFieldKey in class URLConnection
 o getHeaderField
 public String getHeaderField(int n)
Overrides:
getHeaderField in class URLConnection
 o getInputStream
 public InputStream getInputStream() throws IOException
Overrides:
getInputStream in class URLConnection
 o getOutputStream
 public OutputStream getOutputStream() throws IOException
Overrides:
getOutputStream in class URLConnection
 o setRequestProperty
 public void setRequestProperty(String key,
                                String value)
Overrides:
setRequestProperty in class URLConnection
 o getRequestProperty
 public String getRequestProperty(String key)
Overrides:
getRequestProperty in class URLConnection
 o setGlobalRequestProperty
 public static void setGlobalRequestProperty(String key,
                                             String value)
 o getDefaultRequestProperty
 public static String getDefaultRequestProperty(String key)
 o setDoOutput
 public void setDoOutput(boolean doinput)
Overrides:
setDoOutput in class URLConnection

All Packages  Class Hierarchy  This Package  Previous  Next  Index