mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 05:51:08 +01:00
Introduce XmlEnvironment
This commit is contained in:
parent
dc780ffd6c
commit
fee3ed81ca
229 changed files with 715 additions and 526 deletions
|
|
@ -131,10 +131,10 @@ public class Protocol {
|
|||
|
||||
if (printProtocol) {
|
||||
System.out.println("------------------- Request -------------\n");
|
||||
System.out.println(XmlUtil.prettyFormatXml(request.toXML(null)));
|
||||
System.out.println(XmlUtil.prettyFormatXml(request.toXML()));
|
||||
System.out.println("------------------- Response ------------\n");
|
||||
if (response != null) {
|
||||
System.out.println(XmlUtil.prettyFormatXml(response.toXML(null)));
|
||||
System.out.println(XmlUtil.prettyFormatXml(response.toXML()));
|
||||
}
|
||||
else {
|
||||
System.out.println("No response");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue