addRequestProperty
public void addRequestProperty(String key,
String value)
connect
public void connect()
throws IOException
disconnect
public void disconnect()
getAllowUserInteraction
public boolean getAllowUserInteraction()
getContent
public Object getContent()
throws IOException
getContent
public Object getContent(Class[] classes)
throws IOException
getContentEncoding
public String getContentEncoding()
getContentLength
public int getContentLength()
getContentType
public String getContentType()
getDate
public long getDate()
getDefaultUseCaches
public boolean getDefaultUseCaches()
getDoInput
public boolean getDoInput()
getDoOutput
public boolean getDoOutput()
getErrorStream
public InputStream getErrorStream()
getExpiration
public long getExpiration()
getHeaderField
public String getHeaderField(String header)
getHeaderField
public String getHeaderField(int index)
getHeaderFieldDate
public long getHeaderFieldDate(String header,
long def)
getHeaderFieldInt
public int getHeaderFieldInt(String header,
int def)
getHeaderFieldKey
public String getHeaderFieldKey(int index)
getHeaderFields
public Map getHeaderFields()
getIfModifiedSince
public long getIfModifiedSince()
getInputStream
public InputStream getInputStream()
throws IOException
getInstanceFollowRedirects
public boolean getInstanceFollowRedirects()
getLastModified
public long getLastModified()
getOutputStream
public OutputStream getOutputStream()
throws IOException
getPermission
public Permission getPermission()
throws IOException
getRequestMethod
public String getRequestMethod()
getRequestProperties
public Map getRequestProperties()
getRequestProperty
public String getRequestProperty(String key)
getResponseCode
public int getResponseCode()
throws IOException
getResponseMessage
public String getResponseMessage()
throws IOException
getURL
public URL getURL()
getUseCaches
public boolean getUseCaches()
setAllowUserInteraction
public void setAllowUserInteraction(boolean allowUserInteraction)
setDefaultUseCaches
public void setDefaultUseCaches(boolean defaultUseCaches)
setDoInput
public void setDoInput(boolean doInput)
setDoOutput
public void setDoOutput(boolean doOutput)
setIfModifiedSince
public void setIfModifiedSince(long ifModifiedSince)
setInstanceFollowRedirects
public void setInstanceFollowRedirects(boolean instanceFollowRedirects)
setRequestMethod
public void setRequestMethod(String requestMethod)
throws ProtocolException
setRequestProperty
public void setRequestProperty(String key,
String value)
setUseCaches
public void setUseCaches(boolean useCaches)
toString
public String toString()
usingProxy
public boolean usingProxy()