public interface

PortMapper

org.springframework.security.web.PortMapper
Known Indirect Subclasses

Class Overview

PortMapper implementations provide callers with information about which HTTP ports are associated with which HTTPS ports on the system, and vice versa.

Summary

Public Methods
abstract Integer lookupHttpPort(Integer httpsPort)
Locates the HTTP port associated with the specified HTTPS port.
abstract Integer lookupHttpsPort(Integer httpPort)
Locates the HTTPS port associated with the specified HTTP port.

Public Methods

public abstract Integer lookupHttpPort (Integer httpsPort)

Locates the HTTP port associated with the specified HTTPS port.

Returns null if unknown.

Returns
  • the HTTP port or null if unknown

public abstract Integer lookupHttpsPort (Integer httpPort)

Locates the HTTPS port associated with the specified HTTP port.

Returns null if unknown.

Returns
  • the HTTPS port or null if unknown