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

## org.jboss.portal.core.aspects.server
Class LocaleInterceptor

    java.lang.Object
      org.jboss.portal.server.ServerInterceptor
          org.jboss.portal.core.aspects.server.LocaleInterceptor

All Implemented Interfaces:
  org.jboss.portal.common.invocation.Interceptor

    public class LocaleInterceptor

extends ServerInterceptor

If the user is authenticated and has a preferred locale then this one is chosen. Otherwhise the locale used is the one determined by the incoming HttpServletRequest provided by the servlet container.

todo add cookie or session based locales

Version:
  $Revision: 8786 $
Author:
  Julien Viet

Constructor Summary
`LocaleInterceptor()`

Method Summary
`protected void` | `invoke(ServerInvocation invocation)`

Methods inherited from class org.jboss.portal.server.ServerInterceptor
`invoke`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LocaleInterceptor

    public LocaleInterceptor()

Method Detail

### invoke

    protected void invoke(ServerInvocation invocation)
                   throws java.lang.Exception,
                          org.jboss.portal.common.invocation.InvocationException

  Specified by:
    `invoke` in class `ServerInterceptor`
  Throws:
    `java.lang.Exception`
    `org.jboss.portal.common.invocation.InvocationException`

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