public interface JAXRResponse
JAXRException
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_FAILURE
Status indicating a failure response.
|
static int |
STATUS_SUCCESS
Status indicating a successful response.
|
static int |
STATUS_UNAVAILABLE
Status indicating that the results are currently unavailable.
|
static int |
STATUS_WARNING
Status indicating a successful response that included at least one warning.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the unique id for the request that generated this response.
|
int |
getStatus()
Returns the status for this response.
|
boolean |
isAvailable()
Returns true if a response is available, false otherwise.
|
static final int STATUS_SUCCESS
static final int STATUS_WARNING
static final int STATUS_FAILURE
static final int STATUS_UNAVAILABLE
java.lang.String getRequestId() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorint getStatus() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorSTATUS_SUCCESS
boolean isAvailable() throws JAXRException
true
if the response is available; false
otherwiseJAXRException
- If the JAXR provider encounters an internal error