View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.transport.soap.axis.transport;
8   
9   import java.net.URL;
10  
11  /**
12   * A fake url connection used to bypass Axis's use of the URLStreamHandler to mask
13   * uris as Urls. This was also necessary because of the uncessary use of static
14   * blocking in the axis URLStreamHandler objects.
15   */
16  public class VoidURLConnection extends java.net.URLConnection
17  {
18  
19      public VoidURLConnection(URL url)
20      {
21          super(url);
22      }
23  
24      public void connect()
25      {
26          // nothing to do
27      }
28  
29  }