com.atlassian.bamboo.agent.elastic.tunnel.httpst
Class Handler

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by sun.net.www.protocol.http.Handler
          extended by sun.net.www.protocol.https.Handler
              extended by com.atlassian.bamboo.agent.elastic.tunnel.httpst.Handler

public class Handler
extends sun.net.www.protocol.https.Handler

A URL scheme handler for "httpst", HTTP over SSL with no certificate or host name verification, and using the tunnel proxy.

Should only be used in cases where the authenticity of the remote host is assured through other means, e.g. other SSL tunnelling.


Field Summary
 
Fields inherited from class sun.net.www.protocol.https.Handler
proxy, proxyPort
 
Constructor Summary
Handler()
           
 
Method Summary
protected  javax.net.ssl.HttpsURLConnection openConnection(java.net.URL url)
           
protected  javax.net.ssl.HttpsURLConnection openConnection(java.net.URL url, java.net.Proxy proxy)
           
 
Methods inherited from class sun.net.www.protocol.https.Handler
getDefaultPort
 
Methods inherited from class java.net.URLStreamHandler
equals, getHostAddress, hashCode, hostsEqual, 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

Handler

public Handler()
Method Detail

openConnection

protected javax.net.ssl.HttpsURLConnection openConnection(java.net.URL url)
                                                   throws java.io.IOException
Overrides:
openConnection in class sun.net.www.protocol.https.Handler
Throws:
java.io.IOException

openConnection

protected javax.net.ssl.HttpsURLConnection openConnection(java.net.URL url,
                                                          java.net.Proxy proxy)
                                                   throws java.io.IOException
Overrides:
openConnection in class sun.net.www.protocol.https.Handler
Throws:
java.io.IOException


Copyright © 2011 Atlassian. All Rights Reserved.