org.jclouds.s3.binders
Class BindAsHostPrefixIfConfigured

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

@Singleton
public class BindAsHostPrefixIfConfigured
extends Object
implements org.jclouds.rest.Binder


Field Summary
protected  org.jclouds.rest.binders.BindAsHostPrefix bindAsHostPrefix
           
protected  boolean isVhostStyle
           
protected  String servicePath
           
 
Constructor Summary
BindAsHostPrefixIfConfigured(org.jclouds.rest.binders.BindAsHostPrefix bindAsHostPrefix, boolean isVhostStyle, String servicePath)
           
 
Method Summary
<R extends org.jclouds.http.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 org.jclouds.rest.binders.BindAsHostPrefix bindAsHostPrefix

isVhostStyle

protected final boolean isVhostStyle

servicePath

protected final String servicePath
Constructor Detail

BindAsHostPrefixIfConfigured

@Inject
public BindAsHostPrefixIfConfigured(org.jclouds.rest.binders.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 org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Object payload)
Specified by:
bindToRequest in interface org.jclouds.rest.Binder


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.