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
Static Methods
newBuilder()
public static PostPolicyV4.PostFieldsV4.Builder newBuilder()
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.
Name | Description |
fields | Map<String,String> a map of the HTML form fields |
Type | Description |
PostPolicyV4.PostFieldsV4 | constructed object |
Methods
getFieldsMap()
public Map<String,String> getFieldsMap()
Type | Description |
Map<String,String> |