BindingProvider (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.xml.ws Interface BindingProvider

所有已知子接口:
Dispatch<T>

public interface BindingProvider

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

从以下版本开始:
JAX-WS 2.0
另请参见:
Binding

字段摘要
static String ENDPOINT_ADDRESS_PROPERTY
          Standard property: Target service endpoint address.
static String PASSWORD_PROPERTY
          Standard property: Password for authentication.
static 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.
static String SOAPACTION_URI_PROPERTY
          Standard property for SOAPAction.
static String SOAPACTION_USE_PROPERTY
          Standard property for SOAPAction.
static String USERNAME_PROPERTY
          Standard property: User name for authentication.
 
方法摘要
 Binding getBinding()
          Get the Binding for this binding provider.
 Map<String,Object> getRequestContext()
          Get the context that is used to initialize the message context for request messages.
 Map<String,Object> getResponseContext()
          Get the context that resulted from processing a response message.
 

字段详细信息

USERNAME_PROPERTY

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

Type: java.lang.String

另请参见:
常量字段


PASSWORD_PROPERTY

static final String PASSWORD_PROPERTY
Standard property: Password for authentication.

Type: java.lang.String

另请参见:
常量字段


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

另请参见:
常量字段


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

另请参见:
常量字段


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

另请参见:
常量字段


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

另请参见:
常量字段

方法详细信息

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.

返回:
The context that is used in processing request messages.

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.

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

getBinding

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

返回:
The Binding for this binding provider.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.