Package com.amazonaws

Examples of com.amazonaws.AmazonWebServiceClient


    }

    @Override
    public Signer getSignerByURI(URI uri) {
        // Don't modify the signer region, if the client is configured with region override
        AmazonWebServiceClient awsClient = getAwsClient();
        if (awsClient != null &&
            awsClient.getSignerRegionOverride() != null) {
            return signer;
        }

        // Otherwise, re-adjust the signer region in order to
        // account for endpoint change after a 307 redirect
View Full Code Here


        Class<? extends C> clientImplType = factory.getClientImplType();
        C client = ReflectionUtils.newInstance(
                clientImplType, credentials, configuration);

        if (client instanceof AmazonWebServiceClient) {
            AmazonWebServiceClient awsc = (AmazonWebServiceClient) client;
            if (region != null) {
                awsc.setRegion(region);
            }
            if (endpoint != null) {
                awsc.setEndpoint(endpoint);
            }
        }

        return client;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.AmazonWebServiceClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.