BindingProvider (Java EE 5)

Java EE API


javax.xml.ws Interface BindingProvider

All Known Subinterfaces:
Dispatch<T>

public interface BindingProvider

Implemented by: ">Dispatch

BindingProvider 接口提供对用于请求和响应消息处理的协议绑定及关联上下文对象的访问。
英文文档:

The BindingProvider interface provides access to the protocol binding and associated context objects for request and response message processing.

Since:
JAX-WS 2.0
See Also:
Binding

Field Summary
static String
static String
static String
static String
static String
static String
 
Method Summary
 Binding
 Map<String,Object>
 Map<String,Object>
 

Field Detail

英文文档:

USERNAME_PROPERTY

static final String USERNAME_PROPERTY
Standard property: User name for authentication.

Type: java.lang.String

See Also:
Constant Field Values


英文文档:

PASSWORD_PROPERTY

static final String PASSWORD_PROPERTY
Standard property: Password for authentication.

Type: java.lang.String

See Also:
Constant Field Values


英文文档:

ENDPOINT_ADDRESS_PROPERTY

static final String ENDPOINT_ADDRESS_PROPERTY
Standard property: Target service endpoint address. The URI scheme for the endpoint address specification must correspond to the protocol/transport binding for the binding in use.

Type: java.lang.String

See Also:
Constant Field Values


英文文档:

SESSION_MAINTAIN_PROPERTY

static final String SESSION_MAINTAIN_PROPERTY
Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. If this property is set to true, the service client indicates that it wants the session to be maintained. If set to false, the session is not maintained. The default value for this property is false.

Type: java.lang.Boolean

See Also:
Constant Field Values


英文文档:

SOAPACTION_USE_PROPERTY

static final String SOAPACTION_USE_PROPERTY
Standard property for SOAPAction. This boolean property indicates whether or not SOAPAction is to be used. The default value of this property is false indicating that the SOAPAction is not used.

Type: java.lang.Boolean

See Also:
Constant Field Values


英文文档:

SOAPACTION_URI_PROPERTY

static final String SOAPACTION_URI_PROPERTY
Standard property for SOAPAction. Indicates the SOAPAction URI if the javax.xml.ws.soap.http.soapaction.use property is set to true.

Type: java.lang.String

See Also:
Constant Field Values

Method Detail

public java.util.Map<K, V> getRequestContext()
获取用于初始化请求消息的消息上下文的上下文。 对请求上下文进行的修改并不影响已经启动的同步或异步操作的消息上下文。
return 在处理请求消息的过程中使用的上下文。
英文文档:

getRequestContext

Map<String,Object> getRequestContext()
Get the context that is used to initialize the message context for request messages. Modifications to the request context do not affect the message context of either synchronous or asynchronous operations that have already been started.

Returns:
The context that is used in processing request messages.

public java.util.Map<K, V> getResponseContext()
获取处理响应消息所得的上下文。 返回的上下文用于最新完成的同步操作。随后的同步操作调用重写响应上下文。异步操作通过 Response 接口返回它们的响应上下文。
return 处理最新响应消息所得的上下文。
英文文档:

getResponseContext

Map<String,Object> getResponseContext()
Get the context that resulted from processing a response message. The returned context is for the most recently completed synchronous operation. Subsequent synchronous operation invocations overwrite the response context. Asynchronous operations return their response context via the Response interface.

Returns:
The context that resulted from processing the latest response messages.

public Binding getBinding()
获取此绑定提供者的 Binding。
return 此绑定提供者的 Binding。
英文文档:

getBinding

Binding getBinding()
Get the Binding for this binding provider.

Returns:
The Binding for this binding provider.


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!