public override int GetRemotePort() { try { return(_HttpServletRequest.getRemotePort()); } catch (Exception e) { // if servlet API is 2.3 and below - there is no method getRemotePort // in ServletRequest interface... should be described as limitation. return(0); } }
public override int getRemotePort() { return(_request.getRemotePort()); }