|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JAXRResponse
A JAXR requests' response.
JAXRException
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final int STATUS_SUCCESS
static final int STATUS_WARNING
static final int STATUS_FAILURE
static final int STATUS_UNAVAILABLE
Method Detail |
---|
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
otherwise
JAXRException
- If the JAXR provider encounters an internal error
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.