com.sun.xml.ws.developer
Interface JAXWSProperties

All Known Subinterfaces:
BindingProviderProperties

public interface JAXWSProperties


Field Summary
static String ADDRESSING_ACTION
          Gets the wsa:Action header value.
static String ADDRESSING_FROM
          Gets the wsa:From header.
static String ADDRESSING_MESSAGEID
          Gets the wsa:MessageID header value.
static String ADDRESSING_TO
          Gets the wsa:To header.
static String CONNECT_TIMEOUT
          Set this property on the BindingProvider.getRequestContext() to enable URLConnection.setConnectTimeout(int)
static String CONTENT_NEGOTIATION_PROPERTY
          Deprecated. 
static String HOSTNAME_VERIFIER
          Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.setHostnameVerifier(HostnameVerifier)}.
static String HTTP_CLIENT_STREAMING_CHUNK_SIZE
          Set this property on the BindingProvider.getRequestContext() to enable HttpURLConnection.setChunkedStreamingMode(int)
static String HTTP_EXCHANGE
           
static String HTTP_REQUEST_URL
          Reconstructs the URL the client used to make the request.
static String INBOUND_HEADER_LIST_PROPERTY
          Acccess the list of SOAP headers in the SOAP message.
static String MTOM_THRESHOLOD_VALUE
           
static String SSL_SOCKET_FACTORY
          Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.setSSLSocketFactory(SSLSocketFactory).
static String WSENDPOINT
          Access the WSEndpoint object that delivered the request.
 

Field Detail

CONTENT_NEGOTIATION_PROPERTY

@Deprecated
static final String CONTENT_NEGOTIATION_PROPERTY
Deprecated. 
See Also:
Constant Field Values

MTOM_THRESHOLOD_VALUE

static final String MTOM_THRESHOLOD_VALUE
See Also:
Constant Field Values

HTTP_EXCHANGE

static final String HTTP_EXCHANGE
See Also:
Constant Field Values

CONNECT_TIMEOUT

static final String CONNECT_TIMEOUT
Set this property on the BindingProvider.getRequestContext() to enable URLConnection.setConnectTimeout(int)

int timeout = ...; Map ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(CONNECT_TIMEOUT, timeout);

See Also:
Constant Field Values

HTTP_CLIENT_STREAMING_CHUNK_SIZE

static final String HTTP_CLIENT_STREAMING_CHUNK_SIZE
Set this property on the BindingProvider.getRequestContext() to enable HttpURLConnection.setChunkedStreamingMode(int)

int chunkSize = ...; Map ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HTTP_CLIENT_STREAMING_CHUNK_SIZE, chunkSize);

See Also:
Constant Field Values

HOSTNAME_VERIFIER

static final String HOSTNAME_VERIFIER
Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.setHostnameVerifier(HostnameVerifier)}. The property is set as follows:

HostNameVerifier hostNameVerifier = ...; Map ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HOSTNAME_VERIFIER, hostNameVerifier);

THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.

See Also:
Constant Field Values

SSL_SOCKET_FACTORY

static final String SSL_SOCKET_FACTORY
Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.setSSLSocketFactory(SSLSocketFactory). The property is set as follows:

SSLSocketFactory sslFactory = ...; Map ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(SSL_SOCKET_FACTORY, sslFactory);

THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.

See Also:
Constant Field Values

INBOUND_HEADER_LIST_PROPERTY

static final String INBOUND_HEADER_LIST_PROPERTY
Acccess the list of SOAP headers in the SOAP message.

On WebServiceContext, this property returns a HeaderList object that represents SOAP headers in the request message that was received. On BindingProvider.getResponseContext(), this property returns a HeaderList object that represents SOAP headers in the response message from the server.

The property is read-only, and please do not modify the returned HeaderList as that may break the JAX-WS RI in some unexpected way.

THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.

See Also:
Constant Field Values

WSENDPOINT

static final String WSENDPOINT
Access the WSEndpoint object that delivered the request.

WSEndpoint is the root of the objects that are together responsible for delivering requests to the application SEI object. One can look up this WSEndpoint from WebServiceContext, and from there access many parts of the JAX-WS RI runtime.

THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.

Since:
2.1.2
See Also:
Constant Field Values

ADDRESSING_TO

static final String ADDRESSING_TO
Gets the wsa:To header. The propery value is available on incoming SOAP message. The type of the value is WSEndpointReference. Null if the incoming SOAP message didn't have the header.

Since:
2.1.3
See Also:
Constant Field Values

ADDRESSING_FROM

static final String ADDRESSING_FROM
Gets the wsa:From header. The propery value is available on incoming SOAP message. The type of the value is WSEndpointReference. Null if the incoming SOAP message didn't have the header.

Since:
2.1.3
See Also:
Constant Field Values

ADDRESSING_ACTION

static final String ADDRESSING_ACTION
Gets the wsa:Action header value. The propery value is available on incoming SOAP message. The type of the value is String. Null if the incoming SOAP message didn't have the header.

Since:
2.1.3
See Also:
Constant Field Values

ADDRESSING_MESSAGEID

static final String ADDRESSING_MESSAGEID
Gets the wsa:MessageID header value. The propery value is available on incoming SOAP message. The type of the value is String. Null if the incoming SOAP message didn't have the header.

Since:
2.1.3
See Also:
Constant Field Values

HTTP_REQUEST_URL

static final String HTTP_REQUEST_URL
Reconstructs the URL the client used to make the request. The returned URL contains a protocol, server name, port number, and server path, but it does not include query string parameters.

The property value is available on incoming SOAP message on servlet transport.

Since:
2.1.3
See Also:
Constant Field Values