uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
HTTPSProperties(Hostname Verifier hv, SSLContext c) constructor
Description
This method sets up the HTTPSProperties object from the javax.net.ssl.HostnameVerifier and javax.net.ssl.SSLContext objects specified in the argument.
Syntax
public HTTPSProperties(HostnameVerifier hv,
SSLContext c)
Parameters
- hv
- This is the HostnameVerifier object to be specified in the HTTPSProperties object to be set up.
- c
- This is SSLContext to be specified in the HTTPSProperties object to be set up. You cannot specify null.
Return value
Notes
- If null is set in the c parameter, the IllegalArgumentException exception is thrown.
- The operation when null is set in the hv parameter is the same as the operation when a HostnameVerifier object is not set in the HttpsURLConnection class before generating an HTTP request.
- The operation when a non-null value is specified in the hv parameter is the same as the operation when the same value is specified in the setHostnameVerifier() method of the HttpsURLConnection class.
- The operation when a non-null value is specified in the c parameter is the same as the operation when the value acquired by invoking the getSocketFactory() method for the c parameter is specified in the setSSLSocketFactory() method of the HttpsURLConnection class.
- The JAX-RS engine does not validate the value specified in the parameter. Specify the parameter value according to the standard specifications.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.