|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.youtube.FormUploadToken
public class FormUploadToken
Answer to a 'get upload token' request.
| Constructor Summary | |
|---|---|
FormUploadToken(java.lang.String url,
java.lang.String token)
Creates a form-upload token. |
|
| Method Summary | |
|---|---|
java.lang.String |
getToken()
Returns a token to include in the form upload. |
java.lang.String |
getUrl()
Returns the url to which the form upload should be sent. |
static FormUploadToken |
parse(java.io.InputStream input)
Parse a form-upload token from its XML definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormUploadToken(java.lang.String url,
java.lang.String token)
url - the url to which the upload should be senttoken - token data to include in the upload| Method Detail |
|---|
public java.lang.String getUrl()
public java.lang.String getToken()
token - token data to include in the multipart/form-data
upload under the name 'token'.
public static FormUploadToken parse(java.io.InputStream input)
throws ParseException,
java.io.IOException
input - InputStream of server response
ParseException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||