Logo Search packages:      
Sourcecode: fex version File versions  Download package

int fix::HttpClient::getPort ( String  protocol  )  [inline]

Gets the port number from the given protocol.

Parameters:
protocol 
Returns:
port 443 if the protocol is https 80 else

Definition at line 215 of file HttpClient.java.

Referenced by parseURL(), and fix::Sender::send().

                                          {
            if (protocol.equals("https"))
                  return 443;
            else
                  return 80;
      }


Generated by  Doxygen 1.6.0   Back to index