Name

JAXRResponse

Synopsis

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

Get Java Web Services in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.