Previous section   Next section
JAXRResponse javax.xml.registry

JAXR 1.0; JWSDP 1.0, J2EE 1.4
public interface JAXRResponse {
// Public Constants
    public static final int STATUS_FAILURE;
               // =2
    public static final int STATUS_SUCCESS;
               // =0
    public static final int STATUS_UNAVAILABLE;
               // =3
    public static final int STATUS_WARNING;
               // =1
// Public Instance Methods
    public abstract String getRequestId(  ) throws JAXRException;
               // L0
    public abstract int getStatus(  ) throws JAXRException;
               // L0
    public abstract boolean isAvailable(  ) throws JAXRException;       // L0
}

JAXRResponse is an interface that defines methods and constants that provide information about a response to a JAXR query or update operation. Application code does not deal with JAXRResponse directly, but rather with JAXRException or BulkResponse, which both implement its methods. How these methods are used depends on whether the Connection on which the original request was made is set to operate in synchronous or asynchronous mode. Refer to the description of the BulkResponse interface for details.

Implementations

BulkResponse, JAXRException


  Previous section   Next section