summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/net/PiggybackURLContext.java
blob: 2cb48b5d63305364358a61be44da1b08d180aa1c (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;    
}