public class BanafoRequestState
extends java.lang.Object
Constructor and Description |
---|
BanafoRequestState(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
int |
networkStatusCode()
The network status code
Contains the network state code if the new state is BanafoRequeststateType::NetworkError or
BanafoRequeststateType::Finished.
|
UploadProgress |
progress()
The upload progress
Contains the upload progress if the state is BanafoRequeststateType::InProgress.
|
java.lang.String |
reason()
HTTP failure reason.
|
java.lang.String |
response()
The response data buffer
Contains the response data buffer if the state is BanafoRequestStateType::Finished.
|
BanafoRequestStateType |
state()
The Banafo Service Request state
Indicates the new state in which the Banafo Service Request has transitioned into.
|
public BanafoRequestState(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public BanafoRequestStateType state()
BanafoRequestStateType
public int networkStatusCode()
state
public java.lang.String reason()
public java.lang.String response()
public UploadProgress progress()
state