|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortResolver
A PortResolver
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 | |
---|---|
int |
getServerPort(javax.servlet.ServletRequest request)
Indicates the port the ServletRequest was received on. |
Method Detail |
---|
int getServerPort(javax.servlet.ServletRequest request)
ServletRequest
was received on.
request
- that the method should lookup the port for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |