Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.acegisecurity.util
Interface PortResolver

All Known Implementing Classes:
  PortResolverImpl

    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.

Version:
  $Id: PortResolver.java,v 1.2 2005/11/17 00:56:09 benalex Exp $
Author:
  Ben Alex

Method Summary
`int` | `getServerPort(javax.servlet.ServletRequest request)` Indicates the port the `ServletRequest` was received on.

Method Detail

### getServerPort

    int getServerPort(javax.servlet.ServletRequest request)

  Indicates the port the `ServletRequest` was received on.

  Parameters:
    `request` - that the method should lookup the port for
  Returns:
    the port the request was received on

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.