|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.dwrp.ParseUtil
public class ParseUtil
Utilities to parse GET and POST requests from the DWR javascript section.
Constructor Summary | |
---|---|
ParseUtil()
|
Method Summary | |
---|---|
static java.util.Map |
parseGet(HttpServletRequest req)
Parse an HTTP GET request to fill out the scriptName, methodName and paramList properties. |
static java.util.Map |
parsePost(HttpServletRequest req)
Parse an HTTP POST request to fill out the scriptName, methodName and paramList properties. |
static java.lang.String[] |
splitInbound(java.lang.String data)
The javascript outbound marshaller prefixes the toString value with a colon and the original type information. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParseUtil()
Method Detail |
---|
public static java.util.Map parsePost(HttpServletRequest req) throws ServerException
checkParams()
method.
req
- The original browser's request
ServerException
- If reading from the request body stream failspublic static java.util.Map parseGet(HttpServletRequest req) throws ServerException
checkParams()
method.
req
- The original browser's request
ServerException
- If the parsing failspublic static java.lang.String[] splitInbound(java.lang.String data)
data
- The string to be split up
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |