summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas <>2021-12-12 15:28:31 +0100
committerThomas <>2021-12-12 15:28:31 +0100
commit3590079d2f691db771670e55003e208a3d091060 (patch)
tree07037087ec5db20b5d0929ea9e67262e3cc9998c /src
parentc9f73fc5b82d48e7868c43761e151fa67657402a (diff)
downloadegovutils-3590079d2f691db771670e55003e208a3d091060.tar.gz
egovutils-3590079d2f691db771670e55003e208a3d091060.tar.bz2
egovutils-3590079d2f691db771670e55003e208a3d091060.zip
update third-party libs
Diffstat (limited to 'src')
-rw-r--r--src/test/java/at/gv/util/demo/ZuseSSLTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/at/gv/util/demo/ZuseSSLTest.java b/src/test/java/at/gv/util/demo/ZuseSSLTest.java
index 516c228..cecbc19 100644
--- a/src/test/java/at/gv/util/demo/ZuseSSLTest.java
+++ b/src/test/java/at/gv/util/demo/ZuseSSLTest.java
@@ -30,7 +30,6 @@ import org.apache.http.ssl.PrivateKeyDetails;
import org.apache.http.ssl.PrivateKeyStrategy;
import org.apache.http.ssl.SSLContextBuilder;
import org.apache.http.util.EntityUtils;
-import org.apache.log4j.lf5.util.StreamUtils;
import at.gv.util.xsd.szr.pvp.sec.Security;
@@ -132,10 +131,11 @@ public class ZuseSSLTest {
System.out.println("HTTP StatusCode: " + response.getStatusLine().getStatusCode());
- if (response.getEntity().getContent() != null )
- System.out.println("Body: " + org.apache.commons.codec.binary.StringUtils.newStringUtf8(StreamUtils.getBytes(response.getEntity().getContent())));
-
-
+ if (response.getEntity().getContent() != null ) {
+ System.out.println("Body: " +
+ EntityUtils.toString(response.getEntity()));
+
+ }
System.out.println("Test finished");
} catch (Exception e) {