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

java.lang.Object
  extended by java.net.URLStreamHandler
      extended by sun.net.www.protocol.http.Handler
          extended by org.springframework.security.oauth.consumer.net.OAuthOverHttpURLStreamHandler

public class OAuthOverHttpURLStreamHandler
extends sun.net.www.protocol.http.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.http.Handler
proxy, proxyPort
 
Constructor Summary
OAuthOverHttpURLStreamHandler(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.http.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

OAuthOverHttpURLStreamHandler

public OAuthOverHttpURLStreamHandler(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.http.Handler
Throws:
IOException


Copyright © 2012. All Rights Reserved.