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) constructor
Description
This method sets up an HTTPSProperties object from the javax.net.ssl.HostnameVerifier object specified in the argument and the SSLContext object that is generated by specifying SSL in the argument of the getInstance() method of the javax.net.ssl.SSLContext class.
Syntax
public HTTPSProperties(HostnameVerifier hv)
throws NoSuchAlgorithmException
Parameter
- hv
- This is the HostnameVerifier object to be specified in the HTTPSProperties object to be set up.
Return value
Exception
- NoSuchAlgorithmException
- This exception is thrown if the SSLContext object cannot be generated.
Notes
- The operation when a null value is set in the hv parameter is the same as the operation when the 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. Note that 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.