org.jclouds.aws.s3.binders
Class AssignCorrectHostnameAndBindAsHostPrefixIfConfigured

java.lang.Object
  extended by org.jclouds.s3.binders.BindAsHostPrefixIfConfigured
      extended by org.jclouds.aws.s3.binders.AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
All Implemented Interfaces:
Binder

@Singleton
public class AssignCorrectHostnameAndBindAsHostPrefixIfConfigured
extends BindAsHostPrefixIfConfigured

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.s3.binders.BindAsHostPrefixIfConfigured
bindAsHostPrefix, isVhostStyle, servicePath, uriBuilderProvider
 
Constructor Summary
AssignCorrectHostnameAndBindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix, boolean isVhostStyle, String servicePath, RegionToEndpointOrProviderIfNull r2, javax.inject.Provider<javax.ws.rs.core.UriBuilder> uriBuilderProvider, Map<String,String> bucketToRegion)
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Object payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.