org.jclouds.s3.binders
Class BindAsHostPrefixIfConfigured

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

@Singleton
public class BindAsHostPrefixIfConfigured
extends Object
implements Binder

Author:
Adrian Cole

Field Summary
protected  BindAsHostPrefix bindAsHostPrefix
           
protected  boolean isVhostStyle
           
protected  String servicePath
           
 
Constructor Summary
BindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix, boolean isVhostStyle, String servicePath)
           
 
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
 

Field Detail

bindAsHostPrefix

protected final BindAsHostPrefix bindAsHostPrefix

isVhostStyle

protected final boolean isVhostStyle

servicePath

protected final String servicePath
Constructor Detail

BindAsHostPrefixIfConfigured

@Inject
public BindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix,
                                           @Named(value="jclouds.s3.virtual-host-buckets")
                                           boolean isVhostStyle,
                                           @Named(value="jclouds.s3.service-path")
                                           String servicePath)
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object payload)
Specified by:
bindToRequest in interface Binder


Copyright © 2009-2012 jclouds. All Rights Reserved.