public final class FileUpload extends Object implements JsonSerializable
multipart/form-data
, typically the audio
file of a recording. This class contains the content type, the headers and
the data (ie. a byte array).Constructor and Description |
---|
FileUpload(String name,
String contentType,
byte[] content,
Map<String,String> headers) |
Modifier and Type | Method and Description |
---|---|
javax.json.JsonValue |
asJson() |
boolean |
equals(Object obj) |
byte[] |
getContent() |
String |
getContentType() |
String |
getHeader(String name) |
Set<String> |
getHeaderNames() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public String getContentType()
public byte[] getContent()
public Set<String> getHeaderNames()
public javax.json.JsonValue asJson()
asJson
in interface JsonSerializable
Copyright © 2019 Nu Echo Inc..