Class BindAsHostPrefixIfConfigured

  • All Implemented Interfaces:
    org.jclouds.rest.Binder

    @Singleton
    public class BindAsHostPrefixIfConfigured
    extends Object
    implements org.jclouds.rest.Binder
    • 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("jclouds.s3.virtual-host-buckets")
                                            boolean isVhostStyle,
                                            @Named("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