BBjHttpRequest::getLocalName (Deprecated)
BBjHttpRequest::getLocalName is deprecated for BBj 21.00 and higher, and has been replaced by BBxServletRequest::getLocalName.
Description
In BBj 12.00 and higher, this method returns the host name of the Internet protocol (IP) interface on which the BBjHttpRequest was received.
Syntax
| 
                                                         Return Value  | 
                                                    
                                                         Method  | 
                                                
| 
                                                         string  | 
                                                    
                                                         getLocalName()  | 
                                                
Parameters
None.
Return Value
a string containing the local host name.
Remarks
The example below shows getting the local host-name associates with the IP address of the request within a BBjServlet.
Example
                                                     |