Spring Security Framework

org.springframework.security.util
Interface PortMapper

All Known Implementing Classes:
PortMapperImpl

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.

Version:
$Id$
Author:
Ben Alex

Method Summary
 Integer lookupHttpPort(Integer httpsPort)
          Locates the HTTP port associated with the specified HTTPS port.
 Integer lookupHttpsPort(Integer httpPort)
          Locates the HTTPS port associated with the specified HTTP port.
 

Method Detail

lookupHttpPort

Integer lookupHttpPort(Integer httpsPort)
Locates the HTTP port associated with the specified HTTPS port.

Returns null if unknown.

Parameters:
httpsPort -
Returns:
the HTTP port or null if unknown

lookupHttpsPort

Integer lookupHttpsPort(Integer httpPort)
Locates the HTTPS port associated with the specified HTTP port.

Returns null if unknown.

Parameters:
httpPort -
Returns:
the HTTPS port or null if unknown

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.