aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/net/PiggybackURLContext.java
blob: 9e3db6902f595ba323c523b9c4a01a1169dcb6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.jogamp.common.net;

import java.io.IOException;
import java.net.URLConnection;

/**
 * See {@link PiggybackURLConnection} for description and examples.
 */
public interface PiggybackURLContext {

    /** Returns the specific protocol, constant for this implementation. */
    public String getImplementedProtocol();

    /**
     * Resolving path to a URL sub protocol and return it's open URLConnection
     **/
    public URLConnection resolve(String path) throws IOException;
}