Class PostPolicyV4.PostFieldsV4 (2.22.0)

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
TypeDescription
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
NameDescription
fieldsMap<String,String>

a map of the HTML form fields

Returns
TypeDescription
PostPolicyV4.PostFieldsV4

constructed object

Methods

getFieldsMap()

public Map<String,String> getFieldsMap()
Returns
TypeDescription
Map<String,String>