@Singleton public class BindAsHostPrefixIfConfigured extends Object implements Binder
Modifier and Type | Field and Description |
---|---|
protected BindAsHostPrefix |
bindAsHostPrefix |
protected boolean |
isVhostStyle |
protected String |
servicePath |
protected Provider<UriBuilder> |
uriBuilderProvider |
Constructor and Description |
---|
BindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix,
boolean isVhostStyle,
String servicePath,
Provider<UriBuilder> uriBuilderProvider) |
protected final Provider<UriBuilder> uriBuilderProvider
protected final BindAsHostPrefix bindAsHostPrefix
protected final boolean isVhostStyle
protected final String servicePath
@Inject public BindAsHostPrefixIfConfigured(BindAsHostPrefix bindAsHostPrefix, @Named(value="jclouds.s3.virtual-host-buckets") boolean isVhostStyle, @Named(value="jclouds.s3.service-path") String servicePath, Provider<UriBuilder> uriBuilderProvider)
public <R extends HttpRequest> R bindToRequest(R request, Object payload)
bindToRequest
in interface Binder
Copyright © 2009-2012 jclouds. All Rights Reserved.