|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.onemind.commons.java.util.ServletUtils
public final class ServletUtils
The servlet utiltity
Constructor Summary | |
---|---|
private |
ServletUtils()
Constructor |
Method Summary | |
---|---|
static java.util.Map |
getExtraRequestEnvironment(javax.servlet.http.HttpServletRequest req)
Get request attributes (Only for jsdk 2.3) |
static java.util.Map |
getRequestEnvironment(javax.servlet.http.HttpServletRequest req)
Get the request environment |
static java.util.Map |
getRequestParameters(javax.servlet.http.HttpServletRequest req,
org.apache.commons.fileupload.DiskFileUpload upload)
Get the request parameters in a mp |
static java.util.Map |
getServletEnvironment(javax.servlet.ServletConfig config)
Get the servlet environment from the config |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private ServletUtils()
Method Detail |
---|
public static java.util.Map getRequestEnvironment(javax.servlet.http.HttpServletRequest req)
req
- the request
public static java.util.Map getExtraRequestEnvironment(javax.servlet.http.HttpServletRequest req)
req
- the request
public static java.util.Map getServletEnvironment(javax.servlet.ServletConfig config)
config
- the config
public static java.util.Map getRequestParameters(javax.servlet.http.HttpServletRequest req, org.apache.commons.fileupload.DiskFileUpload upload) throws org.apache.commons.fileupload.FileUploadException
req
- the request
org.apache.commons.fileupload.FileUploadException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |