org.ksoap2.transport
Class ServiceConnectionMidp
java.lang.Object
org.ksoap2.transport.ServiceConnectionMidp
- All Implemented Interfaces:
- ServiceConnection
public class ServiceConnectionMidp
- extends java.lang.Object
- implements ServiceConnection
Field Summary |
private javax.microedition.io.HttpConnection |
connection
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connection
private javax.microedition.io.HttpConnection connection
ServiceConnectionMidp
public ServiceConnectionMidp(java.lang.String url)
throws java.io.IOException
- Throws:
java.io.IOException
disconnect
public void disconnect()
throws java.io.IOException
- Specified by:
disconnect
in interface ServiceConnection
- Throws:
java.io.IOException
setRequestProperty
public void setRequestProperty(java.lang.String string,
java.lang.String soapAction)
throws java.io.IOException
- Specified by:
setRequestProperty
in interface ServiceConnection
- Throws:
java.io.IOException
setRequestMethod
public void setRequestMethod(java.lang.String post)
throws java.io.IOException
- Specified by:
setRequestMethod
in interface ServiceConnection
- Throws:
java.io.IOException
openOutputStream
public java.io.OutputStream openOutputStream()
throws java.io.IOException
- Specified by:
openOutputStream
in interface ServiceConnection
- Throws:
java.io.IOException
openInputStream
public java.io.InputStream openInputStream()
throws java.io.IOException
- Specified by:
openInputStream
in interface ServiceConnection
- Throws:
java.io.IOException
connect
public void connect()
throws java.io.IOException
- Specified by:
connect
in interface ServiceConnection
- Throws:
java.io.IOException
getErrorStream
public java.io.InputStream getErrorStream()
- Specified by:
getErrorStream
in interface ServiceConnection