|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ksoap2.transport.Transport
public abstract class Transport
Abstract class which holds common methods and members that are used by the transport layers. This class encapsulates the serialization and deserialization of the soap messages, leaving the basic communication routines to the subclasses.
Field Summary | |
---|---|
boolean |
debug
Set to true if debugging |
java.lang.String |
requestDump
String dump of request for debugging. |
java.lang.String |
responseDump
String dump of response for debugging |
protected java.lang.String |
url
|
private java.lang.String |
xmlVersionTag
|
Constructor Summary | |
---|---|
Transport()
|
|
Transport(java.lang.String url)
|
Method Summary | |
---|---|
protected byte[] |
createRequestData(SoapEnvelope envelope)
Serializes the request. |
protected void |
parseResponse(SoapEnvelope envelope,
java.io.InputStream is)
Sets up the parsing to hand over to the envelope to deserialize. |
void |
setUrl(java.lang.String url)
Set the target url. |
void |
setXmlVersionTag(java.lang.String tag)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String url
public boolean debug
public java.lang.String requestDump
public java.lang.String responseDump
private java.lang.String xmlVersionTag
Constructor Detail |
---|
public Transport()
public Transport(java.lang.String url)
Method Detail |
---|
protected void parseResponse(SoapEnvelope envelope, java.io.InputStream is) throws XmlPullParserException, java.io.IOException
XmlPullParserException
java.io.IOException
protected byte[] createRequestData(SoapEnvelope envelope) throws java.io.IOException
java.io.IOException
public void setUrl(java.lang.String url)
url
- the target url.public void setXmlVersionTag(java.lang.String tag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |