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