|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JAXWSProperties
Field Summary | |
---|---|
static java.lang.String |
ADDRESSING_ACTION
Gets the wsa:Action header value. |
static java.lang.String |
ADDRESSING_FROM
Gets the wsa:From header. |
static java.lang.String |
ADDRESSING_MESSAGEID
Gets the wsa:MessageID header value. |
static java.lang.String |
ADDRESSING_TO
Gets the wsa:To header. |
static java.lang.String |
CONNECT_TIMEOUT
Set this property on the BindingProvider.getRequestContext() to
enable URLConnection.setConnectTimeout(int) |
static java.lang.String |
CONTENT_NEGOTIATION_PROPERTY
Deprecated. |
static java.lang.String |
HOSTNAME_VERIFIER
Set this property on the BindingProvider.getRequestContext() to
enable HttpsURLConnection.setHostnameVerifier(HostnameVerifier) }. |
static java.lang.String |
HTTP_CLIENT_STREAMING_CHUNK_SIZE
Set this property on the BindingProvider.getRequestContext() to
enable HttpURLConnection.setChunkedStreamingMode(int) |
static java.lang.String |
HTTP_EXCHANGE
|
static java.lang.String |
HTTP_REQUEST_URL
Reconstructs the URL the client used to make the request. |
static java.lang.String |
INBOUND_HEADER_LIST_PROPERTY
Acccess the list of SOAP headers in the SOAP message. |
static java.lang.String |
MTOM_THRESHOLOD_VALUE
|
static java.lang.String |
REQUEST_TIMEOUT
Set this property on the BindingProvider.getRequestContext() to
enable URLConnection.setReadTimeout(int) |
static java.lang.String |
REST_BINDING
Binding to represent RESTful services. |
static java.lang.String |
SSL_SOCKET_FACTORY
Set this property on the BindingProvider.getRequestContext() to
enable HttpsURLConnection.setSSLSocketFactory(SSLSocketFactory) . |
static java.lang.String |
WSENDPOINT
Access the WSEndpoint object that delivered the request. |
Field Detail |
---|
@Deprecated static final java.lang.String CONTENT_NEGOTIATION_PROPERTY
static final java.lang.String MTOM_THRESHOLOD_VALUE
static final java.lang.String HTTP_EXCHANGE
static final java.lang.String CONNECT_TIMEOUT
BindingProvider.getRequestContext()
to
enable URLConnection.setConnectTimeout(int)
int timeout = ...;
Map
static final java.lang.String REQUEST_TIMEOUT
BindingProvider.getRequestContext()
to
enable URLConnection.setReadTimeout(int)
int timeout = ...;
Map
static final java.lang.String HTTP_CLIENT_STREAMING_CHUNK_SIZE
BindingProvider.getRequestContext()
to
enable HttpURLConnection.setChunkedStreamingMode(int)
int chunkSize = ...;
Map
static final java.lang.String HOSTNAME_VERIFIER
BindingProvider.getRequestContext()
to
enable HttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}. The property
is set as follows:
HostNameVerifier hostNameVerifier = ...;
Map
THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
static final java.lang.String SSL_SOCKET_FACTORY
BindingProvider.getRequestContext()
to
enable HttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
. The property is set
as follows:
SSLSocketFactory sslFactory = ...;
Map
THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
static final java.lang.String INBOUND_HEADER_LIST_PROPERTY
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.
static final java.lang.String WSENDPOINT
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.
static final java.lang.String ADDRESSING_TO
WSEndpointReference
.
Null if the incoming SOAP message didn't have the header.
static final java.lang.String ADDRESSING_FROM
WSEndpointReference
.
Null if the incoming SOAP message didn't have the header.
static final java.lang.String ADDRESSING_ACTION
String
.
Null if the incoming SOAP message didn't have the header.
static final java.lang.String ADDRESSING_MESSAGEID
String
.
Null if the incoming SOAP message didn't have the header.
static final java.lang.String HTTP_REQUEST_URL
The property value is available on incoming SOAP message on servlet transport.
static final java.lang.String REST_BINDING
HTTPBinding.HTTP_BINDING
works
only for Dispatch/Provider services, but this binding works with even SEI based
services. It would be XML, NOT SOAP on the wire. Hence, the SEI parameters
shouldn't be mapped to headers.
Note that, this only solves limited RESTful usecases.
To enable restful binding on the service, specify the binding id via
BindingType
or DD
@WebService @BindingType(JAXWSProperties.REST_BINDING)
To enable restful binding on the client side, specify the binding id via
BindingTypeFeature
proxy = echoImplService.getEchoImplPort(new BindingTypeFeature(JAXWSProperties.REST_BINDING));
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |