Class w3c.www.protocol.http.HttpURLConnection
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.www.protocol.http.HttpURLConnection

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

public class HttpURLConnection
extends URLConnection

Variable Index

 o output
 o reply
 o request

Method Index

 o checkReply()
 o checkRequest()
 o connect()
 o debug(String)
 o error(String)
 o getContentEncoding()
 o getContentLength()
 o getContentType()
 o getDate()
 o getDefaultRequestProperty(String)
 o getExpiration()
 o getHeaderField(int)
 o getHeaderField(String)
 o getHeaderFieldKey(int)
 o getIfModifiedSince()
 o getInputStream()
 o getLastModified()
 o getOutputStream()
 o getRequestProperty(String)
 o setDoOutput(boolean)
 o setGlobalRequestProperty(String, String)
 o setIfModifiedSince(long)
 o setRequestProperty(String, String)

Variables

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

Methods

 o checkRequest
  protected final void checkRequest()
 o checkReply
  protected final void checkReply()
 o error
  protected void error(String msg)
 o debug
  protected void debug(String m)
 o connect
  public void connect() throws IOException
Overrides:
connect in class URLConnection
 o getContentLength
  public int getContentLength()
Overrides:
getContentLength in class URLConnection
 o getContentType
  public String getContentType()
Overrides:
getContentType in class URLConnection
 o getContentEncoding
  public String getContentEncoding()
Overrides:
getContentEncoding 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 setIfModifiedSince
  public void setIfModifiedSince(long ims)
Overrides:
setIfModifiedSince in class URLConnection
 o getIfModifiedSince
  public long getIfModifiedSince()
Overrides:
getIfModifiedSince 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