|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.osgi.sewing.pub.util.RequestHelper
public class RequestHelper
Static methods for helping us parse a string list of paramaters typically pulled off the request object in a get request or form post
| Constructor Summary | |
|---|---|
RequestHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getMultipartBoundary(HttpServletRequest req)
Get's the item boundary for a multipart post from the header |
static boolean |
isMultipart(HttpServletRequest req)
Does the request come from a multipart post? |
static RequestParameters |
parseMultipart(HttpServletRequest req)
Parse a multipart form |
static RequestParameters |
parseParams(HttpServletRequest req)
|
static RequestParameters |
parseParamString(java.lang.String param_string)
parse a param string into a RequestParameters object |
static RequestParameters |
parseParamString(java.lang.String param_string,
RequestParameters param_map)
Parse a param string, adding it to an existing parameters object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestHelper()
| Method Detail |
|---|
public static RequestParameters parseParams(HttpServletRequest req)
public static RequestParameters parseParamString(java.lang.String param_string)
param_string -
public static RequestParameters parseParamString(java.lang.String param_string,
RequestParameters param_map)
param_string - param_map -
public static boolean isMultipart(HttpServletRequest req)
req -
public static RequestParameters parseMultipart(HttpServletRequest req)
req -
public static java.lang.String getMultipartBoundary(HttpServletRequest req)
req -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||