Class PostPolicyV4.PostFieldsV4 (2.6.1)

public static final class PostPolicyV4.PostFieldsV4

A helper class to define fields to be specified in a V4 POST request. Instance of this class helps to construct PostPolicyV4 objects. Used in: Storage#generateSignedPostPolicyV4(BlobInfo, long, TimeUnit, PostPolicyV4.PostFieldsV4, PostPolicyV4.PostConditionsV4, Storage.PostPolicyV4Option...). See Also: POST Object Form fields

Inheritance

java.lang.Object > PostPolicyV4.PostFieldsV4

Static Methods

newBuilder()

public static PostPolicyV4.PostFieldsV4.Builder newBuilder()
Returns
Type Description
PostPolicyV4.PostFieldsV4.Builder

of(Map<String,String> fields)

public static PostPolicyV4.PostFieldsV4 of(Map<String,String> fields)

Constructs PostPolicyV4.PostFieldsV4 object of the given field map.

Parameter
Name Description
fields Map<String,String>

a map of the HTML form fields

Returns
Type Description
PostPolicyV4.PostFieldsV4

constructed object

Methods

getFieldsMap()

public Map<String,String> getFieldsMap()
Returns
Type Description
Map<String,String>