public class FormUploadToken extends Object
| Constructor and Description |
|---|
FormUploadToken(String url,
String token)
Creates a form-upload token.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getToken()
Returns a token to include in the form upload.
|
String |
getUrl()
Returns the url to which the form upload should be sent.
|
static FormUploadToken |
parse(InputStream input)
Parse a form-upload token from its XML definition.
|
public String getUrl()
public String getToken()
token - token data to include in the multipart/form-data
upload under the name 'token'.public static FormUploadToken parse(InputStream input) throws ParseException, IOException
input - InputStream of server responseParseExceptionIOExceptionCopyright © 2012. All Rights Reserved.