Acme
Class PostURLConnection
java.lang.Object
Acme.PostURLConnection
public class PostURLConnection
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PostURLConnection
public PostURLConnection(java.net.URL url)
connect
public void connect()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
getURL
public java.net.URL getURL()
getContentLength
public int getContentLength()
throws java.io.IOException
- Throws:
java.io.IOException
getContentType
public java.lang.String getContentType()
throws java.io.IOException
- Throws:
java.io.IOException
getHeaderField
public java.lang.String getHeaderField(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
getHeaderFieldInt
public int getHeaderFieldInt(java.lang.String name,
int def)
throws java.io.IOException
- Throws:
java.io.IOException
getHeaderFieldDate
public long getHeaderFieldDate(java.lang.String name,
long def)
throws java.io.IOException
- Throws:
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setDoInput
public void setDoInput(boolean doInput)
getDoInput
public boolean getDoInput()
setDoOutput
public void setDoOutput(boolean doOutput)
getDoOutput
public boolean getDoOutput()
setUseCaches
public void setUseCaches(boolean useCaches)
getUseCaches
public boolean getUseCaches()
setRequestProperty
public void setRequestProperty(java.lang.String name,
java.lang.String value)
getRequestProperty
public java.lang.String getRequestProperty(java.lang.String name)