|
||||||||||
| 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(javax.servlet.http.HttpServletRequest req)
Parse an HTTP GET request to fill out the scriptName, methodName and paramList properties. |
static java.util.Map |
parsePost(javax.servlet.http.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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParseUtil()
| Method Detail |
|---|
public static java.util.Map parsePost(javax.servlet.http.HttpServletRequest req)
throws ServerException
checkParams() method.
req - The original browser's request
ServerException - If reading from the request body stream fails
public static java.util.Map parseGet(javax.servlet.http.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
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||