Package org.springframework.security.web
Interface PortResolver
-
- All Known Implementing Classes:
PortResolverImpl
public interface PortResolver
APortResolver
determines the port a web request was received on.This interface is necessary because
ServletRequest.getServerPort()
may not return the correct port in certain circumstances. For example, if the browser does not construct the URL correctly after a redirect.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getServerPort(javax.servlet.ServletRequest request)
Indicates the port theServletRequest
was received on.
-