Object getRequest( ) |
repository. class HTTPHandler as "com.iscobol.rts.HTTPHandler" class HTTPRequest as "javax.servlet.http.HttpServletRequest" . working-storage section. 77 servlet-request object reference HTTPRequest. 77 client-ip pic x any length. linkage section. 77 http-handler object reference HTTPHandler. procedure division using http-handler. set servlet-request to http-handler:>getRequest() as HTTPRequest. set client-ip to servlet-request:>getRemoteAddr(). |