aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp-ft/src/main/java/com/juick/components/url
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-12 11:13:08 +0300
committerGravatar Vitaly Takmazov2016-11-12 11:13:08 +0300
commit5a9bfa524dcd27f357a8838acb7f150660061ae6 (patch)
tree865c3d4a04a69b71f5595114abae5dc170d31135 /juick-xmpp-ft/src/main/java/com/juick/components/url
parent294544ff5db35e6d16c59dc0fbbc0d3665fc6f41 (diff)
xmpp-ft: drop Juick URL boilerplate as babbler now supports URI
Diffstat (limited to 'juick-xmpp-ft/src/main/java/com/juick/components/url')
-rw-r--r--juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLConnection.java18
-rw-r--r--juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandler.java16
-rw-r--r--juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandlerFactory.java17
3 files changed, 0 insertions, 51 deletions
diff --git a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLConnection.java b/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLConnection.java
deleted file mode 100644
index f467f75b..00000000
--- a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLConnection.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.juick.components.url;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-
-/**
- * Created by vitalyster on 11.11.2016.
- */
-public class JuickURLConnection extends URLConnection {
- protected JuickURLConnection(URL url) {
- super(url);
- }
- @Override
- public void connect() throws IOException {
-
- }
-}
diff --git a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandler.java b/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandler.java
deleted file mode 100644
index 0a4d2ae3..00000000
--- a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandler.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package com.juick.components.url;
-
-import java.io.IOException;
-import java.net.URL;
-import java.net.URLConnection;
-import java.net.URLStreamHandler;
-
-/**
- * Created by vitalyster on 11.11.2016.
- */
-public class JuickURLStreamHandler extends URLStreamHandler {
- @Override
- protected URLConnection openConnection(URL u) throws IOException {
- return new JuickURLConnection(u);
- }
-}
diff --git a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandlerFactory.java b/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandlerFactory.java
deleted file mode 100644
index d7c9559e..00000000
--- a/juick-xmpp-ft/src/main/java/com/juick/components/url/JuickURLStreamHandlerFactory.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.juick.components.url;
-
-import java.net.URLStreamHandler;
-import java.net.URLStreamHandlerFactory;
-
-/**
- * Created by vitalyster on 11.11.2016.
- */
-public class JuickURLStreamHandlerFactory implements URLStreamHandlerFactory {
- @Override
- public URLStreamHandler createURLStreamHandler(String protocol) {
- if ("juick".equals(protocol)) {
- return new JuickURLStreamHandler();
- }
- return null;
- }
-}