    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

##

output
reply
request

##

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

##

request

      protected Request request

reply

      protected Reply reply

output

      protected ByteArrayOutputStream output

##

checkRequest

      protected final void checkRequest()

checkReply

      protected final void checkReply()

error

      protected void error(String msg)

debug

      protected void debug(String m)

connect

      public void connect() throws IOException

Overrides:
  connect in class URLConnection

getContentLength

      public int getContentLength()

Overrides:
  getContentLength in class URLConnection

getContentType

      public String getContentType()

Overrides:
  getContentType in class URLConnection

getContentEncoding

      public String getContentEncoding()

Overrides:
  getContentEncoding in class URLConnection

getExpiration

      public long getExpiration()

Overrides:
  getExpiration in class URLConnection

getDate

      public long getDate()

Overrides:
  getDate in class URLConnection

getLastModified

      public long getLastModified()

Overrides:
  getLastModified in class URLConnection

getHeaderField

      public String getHeaderField(String name)

Overrides:
  getHeaderField in class URLConnection

getHeaderFieldKey

      public String getHeaderFieldKey(int n)

Overrides:
  getHeaderFieldKey in class URLConnection

getHeaderField

      public String getHeaderField(int n)

Overrides:
  getHeaderField in class URLConnection

getInputStream

      public InputStream getInputStream() throws IOException

Overrides:
  getInputStream in class URLConnection

getOutputStream

      public OutputStream getOutputStream() throws IOException

Overrides:
  getOutputStream in class URLConnection

setIfModifiedSince

      public void setIfModifiedSince(long ims)

Overrides:
  setIfModifiedSince in class URLConnection

getIfModifiedSince

      public long getIfModifiedSince()

Overrides:
  getIfModifiedSince in class URLConnection

setRequestProperty

      public void setRequestProperty(String key,
                                     String value)

Overrides:
  setRequestProperty in class URLConnection

getRequestProperty

      public String getRequestProperty(String key)

Overrides:
  getRequestProperty in class URLConnection

setGlobalRequestProperty

      public static void setGlobalRequestProperty(String key,
                                                  String value)

getDefaultRequestProperty

      public static String getDefaultRequestProperty(String key)

setDoOutput

      public void setDoOutput(boolean doinput)

Overrides:
  setDoOutput in class URLConnection

    All Packages  Class Hierarchy  This Package  Previous  Next  Index