UseVirtualHosting Property
Determines which style request to use.
Syntax
public boolean getUseVirtualHosting(); public void setUseVirtualHosting(boolean useVirtualHosting);
Remarks
If set to true, buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.amazonaws.com/yourobject. If false (default), the bean will use the path-style request: http://s3.amazonaws.com/yourbucket/yourobject. This must be set to true when LocationConstraint is true.
NOTE: When set to true, there are more limitations when choosing a bucket name due to DNS server naming restrictions. See Amazon's documentation for more detailed naming information.
This property is not available at design time.
Default Value
False