|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.free2be.dimensions.util.RequestUtils
public class RequestUtils
This is a utility class. It is inspired by "RequestUtils" inside Struts.
Constructor Summary | |
---|---|
RequestUtils()
|
Method Summary | |
---|---|
static java.lang.Object |
lookup(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String scopeName)
Finds out a bean starting from an HttpServletRequest. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestUtils()
Method Detail |
---|
public static java.lang.Object lookup(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.String scopeName) throws javax.servlet.ServletException
request
- The request to use.name
- The name of the bean to find.scopeName
- The scope to use in finding the bean.
Correct values are "application", "session" and "request".
javax.servlet.ServletException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |