|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |
org.ecmascript.object.Object | +--oracle.adf.view.js.base.AdfObject | +--oracle.adfinternal.view.js.comm.AdfDataTransferService
public class AdfDataTransferService extends AdfObject
sendRequest
sendPollingRequest
sendMultiPartRequest
sendStreamingRequest
streamingResponsesOutstanding
processStreamingResponse
notifyStreamingRequestComplete
addStateChangeListener
removeStateChangeListener
suspend
resume
getDTSState
sendRequest(Object, Object, Object, Object, Object)
sendPollingRequest(Object, Object)
sendMultiPartRequest(Object, Object, Object, Object, Object, Object, Object)
sendStreamingRequest(Object, Object)
streamingResponsesOutstanding()
processStreamingResponse(Object)
notifyStreamingRequestComplete()
addStateChangeListener(Function, Object)
removeStateChangeListener(Function, Object)
suspend()
resume()
getDTSState()
Field Summary |
|
---|---|
public static Object |
|
public static Object |
|
public static Object |
Fields inherited from oracle.adf.view.js.base.AdfObject |
constructor, superclass |
Fields inherited from org.ecmascript.object.Object |
prototype |
Constructor Summary |
|
---|---|
public |
|
Method Summary |
|
---|---|
public Object |
|
public Object |
|
public Object |
|
public static Object |
|
protected static Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public Object |
|
public AdfDataTransferRequest |
|
public AdfDataTransferRequest |
|
public AdfDataTransferRequest |
|
public AdfDataTransferRequest |
|
public Boolean |
|
public Object |
|
Methods inherited from oracle.adf.view.js.base.AdfObject |
adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, Init, toDebugString, toString |
Field Detail |
---|
public static Object STATE_BUSY
public static Object STATE_READY
public static Object TRANSFER_COMPLETE
Constructor Detail |
---|
public AdfDataTransferService()
sendRequest
sendPollingRequest
sendMultiPartRequest
sendStreamingRequest
streamingResponsesOutstanding
processStreamingResponse
notifyStreamingRequestComplete
addStateChangeListener
removeStateChangeListener
suspend
resume
getDTSState
Method Detail |
---|
public Object addStateChangeListener(Function listener,
Object instance)
listener |
- | listener function to remove |
instance |
- | to pass as this when calling function |
Object
public Object dispose()
Object
public Object getDTSState()
Object
public static Object getInstance()
Object
protected static Object InitClass()
Object
public Object notifyStreamingRequestComplete()
Object
public Object pageUnloading()
Object
public Object processStreamingResponse(Object script)
script |
- | script to be executed in the context of the streaming IFRAME |
Object
public Object removeStateChangeListener(Function listener,
Object instance)
listener |
- | listener function to remove |
instance |
- | to pass as this when calling function |
Object
public Object resume()
Object
public AdfDataTransferRequest sendMultiPartRequest(Object context,
Object actionURL,
Object headerParams,
Object htmlForm,
Object params,
Object listeners,
Object eventListeners)
context |
- | any object that is sent back to the callback when the request is complete. This object can be null. |
actionURL |
- | This is the appropriate action url |
headerParams |
- | Additional header parameters that need to be sent to the server |
htmlForm |
- | The form containing multi-part data or an object. If object then XMLHttpRequest is used for transfer and transfer is unordered. |
params |
- | Additional parameters that need to be sent to the server |
listeners |
- | Objects that implements DataTransferRequestListener interface |
eventListeners |
- | Objects that implements EventListener interface |
AdfDataTransferRequest
- request object of current data transfer requestAdfDataTransferRequest
public AdfDataTransferRequest sendPollingRequest(Object actionURL,
Object listeners)
actionURL |
- | the url to send the request to |
listeners |
- | Objects that implements DataTransferRequestListener interface |
AdfDataTransferRequest
- request object of current data transfer requestAdfDataTransferRequest
public AdfDataTransferRequest sendRequest(Object context,
Object actionURL,
Object headerParams,
Object content,
Object listeners)
context |
- | any object that is sent back to the callback when the request is complete. This object can be null. |
actionURL |
- | the url to send the request to |
headerParams |
- | Option HTTP header parameters to attach to the request |
content |
- | the content of the Asynchronous XML HTTP Post |
listeners |
- | Objects that implements DataTransferRequestListener interface |
AdfDataTransferRequest
- request object of current data transfer requestAdfDataTransferRequest
public AdfDataTransferRequest sendStreamingRequest(Object actionURL,
Object params)
actionURL |
- | the url to send the request to |
params |
- | additional request parameters |
AdfDataTransferRequest
- request object of current data transfer requestAdfDataTransferRequest
public Boolean streamingResponsesOutstanding()
Boolean
- Returns true
if there are still outstanding streaming requestspublic Object suspend()
Object
|
Oracle Fusion Middleware Javascript API Reference for Oracle ADF Faces 12c (12.1.3) E41654-01 |
||||||||
PREV NEXT | FRAMES NO FRAMES Warning: private items are visible |