|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.server.ServerRequest
Field Summary | |
protected java.util.Locale[] |
locales
The locales for the scope of the current request. |
protected Server |
server
The server used during the request. |
protected java.lang.Object |
user
The request user. |
Constructor Summary | |
ServerRequest()
|
Method Summary | |
java.util.Locale |
getLocale()
Return the first locale in the locale list or null if the list is empty. |
java.util.Locale[] |
getLocales()
Return the locales for the scope of the current request. |
Server |
getServer()
|
java.lang.Object |
getUser()
|
void |
setLocales(java.util.Locale[] locales)
|
void |
setServer(Server server)
|
void |
setUser(java.lang.Object user)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.Object user
protected java.util.Locale[] locales
protected Server server
Constructor Detail |
public ServerRequest()
Method Detail |
public java.lang.Object getUser()
public void setUser(java.lang.Object user)
public Server getServer()
public void setServer(Server server)
public java.util.Locale getLocale() throws java.lang.IllegalStateException
java.lang.IllegalArgumentException
- if the locales field is null
java.lang.IllegalStateException
public java.util.Locale[] getLocales()
public void setLocales(java.util.Locale[] locales)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |