public interface PortMapper
PortMapper
implementations provide callers with information about which
HTTP ports are associated with which HTTPS ports on the system, and vice versa.Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
lookupHttpPort(java.lang.Integer httpsPort)
Locates the HTTP port associated with the specified HTTPS port.
|
java.lang.Integer |
lookupHttpsPort(java.lang.Integer httpPort)
Locates the HTTPS port associated with the specified HTTP port.
|
java.lang.Integer lookupHttpPort(java.lang.Integer httpsPort)
Returns null
if unknown.
httpsPort
- null
if unknownjava.lang.Integer lookupHttpsPort(java.lang.Integer httpPort)
Returns null
if unknown.
httpPort
- null
if unknown