Class PiggybackURLConnection<I extends PiggybackURLContext>

java.lang.Object
java.net.URLConnection
com.jogamp.common.net.PiggybackURLConnection<I>
Direct Known Subclasses:
AssetURLConnection

public abstract class PiggybackURLConnection<I extends PiggybackURLContext> extends URLConnection
Generic resource location protocol connection, using another sub-protocol as the vehicle for a piggyback protocol.

The details of the sub-protocol can be queried using getSubProtocol().

See example in AssetURLConnection.

  • Field Details

  • Constructor Details

    • PiggybackURLConnection

      protected PiggybackURLConnection(URL url, I context)
      Parameters:
      url - the specific URL for this instance
      context - the piggyback context, defining state independent code and constants
  • Method Details