public class HttpProxy extends Object
| Constructor and Description |
|---|
HttpProxy() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getDownloadURL(Object projectId,
String[] filePath)
Obtém a URL através da qual o arquivo deve ser obtido.
|
static String |
getUploadURL(Object projectId,
String[] filePath,
String fileType)
Obtem a url atraves da qual o arquivo deve ser inserido.
|
static void |
setTexts(String proxyTitle,
String proxyFailureText,
String proxySuccessText)
Ajuste dos textos
|
public static String getDownloadURL(Object projectId, String[] filePath)
projectId - Identificador do projeto.filePath - caminho do arquivo local no projeto.null caso
ocorra algum problema durante a construção da url.public static String getUploadURL(Object projectId, String[] filePath, String fileType)
projectId - Identificador do projeto.filePath - caminho do arquivo local no projeto.fileType - .Copyright © 2016. All rights reserved.