public class JAXRResponseImpl extends Object implements JAXRResponse
| Modifier and Type | Field and Description |
|---|---|
protected String |
requestId |
protected int |
status |
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING| Constructor and Description |
|---|
JAXRResponseImpl()
Creates new JAXRResponseImpl
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
Returns the request id of the bulk response.
|
int |
getStatus()
Returns the status of the response.
|
boolean |
isAvailable()
Returns true if a response is available, false otherwise.
|
void |
setRequestId(String requestId)
Sets the request id of the response.
|
void |
setStatus(int status)
Sets the status of the message.
|
protected String requestId
protected int status
public String getRequestId() throws JAXRException
getRequestId in interface JAXRResponseJAXRException - If the JAXR provider encounters an internal errorpublic void setRequestId(String requestId)
public int getStatus()
throws JAXRException
getStatus in interface JAXRResponseJAXRException - If the JAXR provider encounters an internal errorJAXRResponse.STATUS_SUCCESSpublic void setStatus(int status)
public boolean isAvailable()
throws JAXRException
isAvailable in interface JAXRResponsetrue if the response is available; false otherwiseJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.