    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

##

output
reply
request

##

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

##

request

     protected Request request

reply

     protected Reply reply

output

     protected ByteArrayOutputStream output

##

checkRequest

     protected final synchronized void checkRequest()

checkReply

     protected final void checkReply()

error

     protected void error(String msg)

debug

     protected final void debug(String m)

usingProxy

     public boolean usingProxy()

  Overrides:
    usingProxy in class HttpURLConnection

disconnect

     public synchronized void disconnect()

  Overrides:
    disconnect in class HttpURLConnection

connect

     public void connect() throws IOException

  Overrides:
    connect in class URLConnection

getResponseCode

     public int getResponseCode() throws IOException

  Overrides:
    getResponseCode in class HttpURLConnection

getContentLength

     public int getContentLength()

  Overrides:
    getContentLength in class URLConnection

getContentType

     public String getContentType()

  Overrides:
    getContentType 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

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