org.universAAL.itests
Class MvnUrlHandler

Package class diagram package MvnUrlHandler
java.lang.Object
  extended by java.net.URLStreamHandler
      extended by org.ops4j.pax.url.mvn.Handler
          extended by org.universAAL.itests.MvnUrlHandler

public class MvnUrlHandler
extends org.ops4j.pax.url.mvn.Handler

Class used for intercepting opening connection to maven url (such url is starting with "mvn:).

Author:
rotgier

Constructor Summary
MvnUrlHandler(boolean useOnlyLocalRepo)
          Simply the constructor.
 
Method Summary
protected  URLConnection openConnection(URL url)
           
 
Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MvnUrlHandler

public MvnUrlHandler(boolean useOnlyLocalRepo)
Simply the constructor.

Parameters:
useOnlyLocalRepo - Parameter for setting useOnlyLocalRepo field.
Method Detail

openConnection

protected URLConnection openConnection(URL url)
                                throws IOException
Overrides:
openConnection in class org.ops4j.pax.url.mvn.Handler
Throws:
IOException


Copyright © 2014 universAAL Consortium. All Rights Reserved.