public interface Response<T> extends Future<T>
Response
接口提供了用于获取响应于操作调用发送的消息的有效载荷和上下文的方法。
对于异步操作调用,它提供了其他方法来检查请求的状态。 get(...)
方法可能会抛出标准异常集,其原因可能是RemoteException
或WebServiceException
,表示在异步方法调用期间发生的错误。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.