// Path: src/kml/proxy/matchers/URLMatcher.java
// public interface URLMatcher {
//     boolean match(String url);
// 
//     String handle(String url);
// }


import kml.proxy.matchers.URLMatcher;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.ProtocolException;
import java.net.URL;
import java.security.Permission;
import java.util.List;
import java.util.Map;
package kml.proxy;



/**
 * @author DarkLBP
 *         website https://krothium.com
 */
class ConnectionHandler extends HttpURLConnection {

    private HttpURLConnection relay;

// Path: src/kml/proxy/matchers/URLMatcher.java
// public interface URLMatcher {
//     boolean match(String url);
// 
//     String handle(String url);
// }


// Path: src/kml/proxy/ConnectionHandler.java
import kml.proxy.matchers.URLMatcher;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.ProtocolException;
import java.net.URL;
import java.security.Permission;
import java.util.List;
import java.util.Map;

package kml.proxy;



/**
 * @author DarkLBP
 *         website https://krothium.com
 */
class ConnectionHandler extends HttpURLConnection {

    private HttpURLConnection relay;

    public ConnectionHandler(URL url, URLMatcher m) {