4.5.7 jp1SimtService.packHost
This method encloses the class (without underscores), for which the name of the structured identifier accepts a host name, in the structured identifier specified by the first parameter with underscores (_). Then, the method converts the host name specified by the second parameter into uppercase characters and URL-encodes symbols other than ., ~, -, and :, and non-alphanumeric characters, concatenates the class with the name in this order, and then returns the generated structured identifier as string type. If you create a structured identifier that has a non-host-name value for the name, use the jp1SimtService.pack method. The following table shows the details of the jp1SimtService.packHost method.
- Method name
-
String jp1SimtService.pack(String key, String value)
- Parameters
-
- key
-
The class in the structured identifier that is to be enclosed with underscores (_)
Class in the structured identifier that takes a non-host-name value for the name
- value
-
The host name that is converted into uppercase characters and URL-encoded
- Return values
-
A structured identifier string created by combining the class string enclosed by underscores (_) with the URL-encoded name string
- Exception
-
None