|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTTPRequestCallback
This class is used as a callback by EditLive! so that developers can dynamically change HTTP request headers when uploading multimedia content.
ELJBean.setImageUploadHTTPRequestCallback(HTTPRequestCallback)
Method Summary | |
---|---|
HTTPHeaders |
getRequestHeaders(String filePath)
Returns an array of HttpHeaders which should be added to the request being sent to the given file. |
void |
setResponse(HTTPHeaders headers,
String body)
Receives the response (even if the upload failed) |
Method Detail |
---|
HTTPHeaders getRequestHeaders(String filePath)
filePath
- path to the file about to be uploaded.void setResponse(HTTPHeaders headers, String body)
headers
- a copy of the headers returned by the serverbody
- a copy of the body returned by the server
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |