org.xmlBlaster.client.protocol.http.applet
Class UrlConnection
java.lang.Object
org.xmlBlaster.client.protocol.http.applet.UrlConnection
- All Implemented Interfaces:
- I_Connection
public class UrlConnection
- extends java.lang.Object
- implements I_Connection
UrlConnection
- Author:
- Michele Laghi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlConnection
public UrlConnection(java.lang.String urlString)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Specified by:
getInputStream
in interface I_Connection
- Throws:
java.io.IOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream
in interface I_Connection
- Throws:
java.io.IOException
getHeaderField
public java.lang.String getHeaderField(java.lang.String key)
- Specified by:
getHeaderField
in interface I_Connection
setRequestProperty
public void setRequestProperty(java.lang.String key,
java.lang.String val)
- Specified by:
setRequestProperty
in interface I_Connection
setPostMethod
public void setPostMethod()
- Specified by:
setPostMethod
in interface I_Connection
setDoInput
public void setDoInput(boolean doInput)
- Specified by:
setDoInput
in interface I_Connection
setDoOutput
public void setDoOutput(boolean doOutput)
- Specified by:
setDoOutput
in interface I_Connection
setUseCaches
public void setUseCaches(boolean useCaches)
- Specified by:
setUseCaches
in interface I_Connection
connect
public void connect()
throws java.io.IOException
- Specified by:
connect
in interface I_Connection
- Throws:
java.io.IOException
Copyright © 1999-2014 The xmlBlaster.org contributers.