|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.common.JAXRResponseImpl
public class JAXRResponseImpl
| Field Summary | |
|---|---|
protected String |
requestId
|
protected int |
status
|
| Fields inherited from interface javax.xml.registry.JAXRResponse |
|---|
STATUS_FAILURE, STATUS_SUCCESS, STATUS_UNAVAILABLE, STATUS_WARNING |
| Constructor Summary | |
|---|---|
JAXRResponseImpl()
Creates new JAXRResponseImpl |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String requestId
protected int status
| Constructor Detail |
|---|
public JAXRResponseImpl()
| Method Detail |
|---|
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 otherwise
JAXRException - If the JAXR provider encounters an internal error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||