|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.ws Interface Response<T>
- All Superinterfaces:
- Future<T>
public interface Response<T>
- extends Future<T>
Response
接口提供一些方法,用来获得为响应操作调用而发送的消息的净荷和上下文。
针对异步操作调用,它还提供了其他一些方法来检查请求状态。get(...)
方法可能抛出一组标准异常,这些异常的 cause 可能是 RemoteException 或 WebServiceException,表示在异步方法调用的过程中发生错误。
since | JAX-WS 2.0 |
The Response
interface provides methods used to obtain the
payload and context of a message sent in response to an operation
invocation.
For asynchronous operation invocations it provides additional methods
to check the status of the request. The get(...)
methods may
throw the standard
set of exceptions and their cause may be a RemoteException or a
WebServiceException that represents the error that occured during the
asynchronous method invocation.
- Since:
- JAX-WS 2.0
Method Summary | |
---|---|
Map<String,Object> |
getContext()
Gets the contained response context. |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
public java.util.Map<K, V>
getContext()
获取所含的响应上下文。
return |
所含的响应上下文。如果响应尚不可用,则返回 null 。
|
getContext
Map<String,Object> getContext()
- Gets the contained response context.
- Returns:
- The contained response context. May be
null
if a response is not yet available.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!