()
| 1248 | |
| 1249 | |
| 1250 | @Override |
| 1251 | public String getRemoteHost() { |
| 1252 | if (remoteHost == null) { |
| 1253 | if (!connector.getEnableLookups()) { |
| 1254 | remoteHost = getRemoteAddr(); |
| 1255 | } else { |
| 1256 | coyoteRequest.action(ActionCode.REQ_HOST_ATTRIBUTE, coyoteRequest); |
| 1257 | remoteHost = coyoteRequest.remoteHost().toString(); |
| 1258 | } |
| 1259 | } |
| 1260 | return remoteHost; |
| 1261 | } |
| 1262 | |
| 1263 | @Override |
| 1264 | public int getRemotePort() { |
nothing calls this directly
no test coverage detected