org.jclouds.aws.s3.binders
Class AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
java.lang.Object
org.jclouds.s3.binders.BindAsHostPrefixIfConfigured
org.jclouds.aws.s3.binders.AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
- All Implemented Interfaces:
- Binder
@Singleton
public class AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
- extends BindAsHostPrefixIfConfigured
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
@Inject
public AssignCorrectHostnameAndBindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix,
@Named(value="jclouds.s3.virtual-host-buckets")
boolean isVhostStyle,
@Named(value="jclouds.s3.service-path")
String servicePath,
RegionToEndpointOrProviderIfNull r2,
javax.inject.Provider<javax.ws.rs.core.UriBuilder> uriBuilderProvider,
Map<String,String> bucketToRegion)
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request,
Object payload)
- Specified by:
bindToRequest
in interface Binder
- Overrides:
bindToRequest
in class BindAsHostPrefixIfConfigured
Copyright © 2009-2011 jclouds. All Rights Reserved.