org.apache.cxf.jaxrs.utils
Class FormUtils
java.lang.Object
org.apache.cxf.jaxrs.utils.FormUtils
public final class FormUtils
- extends Object
Method Summary |
static void |
addPropertyToForm(javax.ws.rs.core.MultivaluedMap<String,String> map,
String name,
Object value)
|
static void |
populateMapFromMultipart(javax.ws.rs.core.MultivaluedMap<String,String> params,
MultipartBody body,
boolean decode)
|
static void |
populateMapFromString(javax.ws.rs.core.MultivaluedMap<String,String> params,
String postBody,
String enc,
boolean decode,
javax.servlet.http.HttpServletRequest request)
|
static String |
readBody(InputStream is,
String encoding)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORM_PARAM_MAP
public static final String FORM_PARAM_MAP
- See Also:
- Constant Field Values
addPropertyToForm
public static void addPropertyToForm(javax.ws.rs.core.MultivaluedMap<String,String> map,
String name,
Object value)
readBody
public static String readBody(InputStream is,
String encoding)
populateMapFromString
public static void populateMapFromString(javax.ws.rs.core.MultivaluedMap<String,String> params,
String postBody,
String enc,
boolean decode,
javax.servlet.http.HttpServletRequest request)
populateMapFromMultipart
public static void populateMapFromMultipart(javax.ws.rs.core.MultivaluedMap<String,String> params,
MultipartBody body,
boolean decode)
Apache CXF