org.springframework.security.oauth.consumer.net
Class OAuthOverHttpsURLStreamHandler

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 org.springframework.security.oauth.consumer.net.OAuthOverHttpsURLStreamHandler

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

Stream handler to handle the request stream to a protected resource over HTTP.

Author:
Ryan Heaton

Field Summary
 
Fields inherited from class sun.net.www.protocol.https.Handler
proxy, proxyPort
 
Constructor Summary
OAuthOverHttpsURLStreamHandler(ProtectedResourceDetails resourceDetails, OAuthConsumerToken accessToken, OAuthConsumerSupport support, String httpMethod, Map<String,String> additionalParameters)
           
 
Method Summary
protected  URLConnection openConnection(URL url, Proxy proxy)
           
 
Methods inherited from class sun.net.www.protocol.https.Handler
getDefaultPort, openConnection
 
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

OAuthOverHttpsURLStreamHandler

public OAuthOverHttpsURLStreamHandler(ProtectedResourceDetails resourceDetails,
                                      OAuthConsumerToken accessToken,
                                      OAuthConsumerSupport support,
                                      String httpMethod,
                                      Map<String,String> additionalParameters)
Method Detail

openConnection

protected URLConnection openConnection(URL url,
                                       Proxy proxy)
                                throws IOException
Overrides:
openConnection in class sun.net.www.protocol.https.Handler
Throws:
IOException


Copyright © 2012. All Rights Reserved.