Package org.springframework.security.web
Interface PortMapper
-
- All Known Implementing Classes:
PortMapperImpl
public interface PortMapperPortMapperimplementations provide callers with information about which HTTP ports are associated with which HTTPS ports on the system, and vice versa.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegerlookupHttpPort(java.lang.Integer httpsPort)Locates the HTTP port associated with the specified HTTPS port.java.lang.IntegerlookupHttpsPort(java.lang.Integer httpPort)Locates the HTTPS port associated with the specified HTTP port.
-
-
-
Method Detail
-
lookupHttpPort
java.lang.Integer lookupHttpPort(java.lang.Integer httpsPort)
Locates the HTTP port associated with the specified HTTPS port.Returns
nullif unknown.- Parameters:
httpsPort-- Returns:
- the HTTP port or
nullif unknown
-
lookupHttpsPort
java.lang.Integer lookupHttpsPort(java.lang.Integer httpPort)
Locates the HTTPS port associated with the specified HTTP port.Returns
nullif unknown.- Parameters:
httpPort-- Returns:
- the HTTPS port or
nullif unknown
-
-