org.springframework.security.oauth.consumer.net
Interface OAuthURLStreamHandlerFactory

All Known Implementing Classes:
DefaultOAuthURLStreamHandlerFactory

public interface OAuthURLStreamHandlerFactory

Factory for a OAuth URL stream handlers.

Author:
Ryan Heaton

Method Summary
 URLStreamHandler getHttpsStreamHandler(ProtectedResourceDetails resourceDetails, OAuthConsumerToken accessToken, OAuthConsumerSupport support, String httpMethod, Map<String,String> additionalParameters)
          Get the handler for an HTTPS stream.
 URLStreamHandler getHttpStreamHandler(ProtectedResourceDetails resourceDetails, OAuthConsumerToken accessToken, OAuthConsumerSupport support, String httpMethod, Map<String,String> additionalParameters)
          Get the handler for an HTTP stream.
 

Method Detail

getHttpStreamHandler

URLStreamHandler getHttpStreamHandler(ProtectedResourceDetails resourceDetails,
                                      OAuthConsumerToken accessToken,
                                      OAuthConsumerSupport support,
                                      String httpMethod,
                                      Map<String,String> additionalParameters)
Get the handler for an HTTP stream.

Parameters:
resourceDetails - The resource details.
accessToken - The access token.
support - The logic support.
httpMethod - The http method.
additionalParameters - Additional parameters.
Returns:
The stream handler.

getHttpsStreamHandler

URLStreamHandler getHttpsStreamHandler(ProtectedResourceDetails resourceDetails,
                                       OAuthConsumerToken accessToken,
                                       OAuthConsumerSupport support,
                                       String httpMethod,
                                       Map<String,String> additionalParameters)
Get the handler for an HTTPS stream.

Parameters:
resourceDetails - The resource details.
accessToken - The access token.
support - The logic support.
httpMethod - The http method.
additionalParameters - Additional parameters.
Returns:
The stream handler.


Copyright © 2012. All Rights Reserved.