= _invocation.getMultipartConfig();
if (contentType == null || ! "POST".equalsIgnoreCase(getMethod())) {
}
else if (contentType.startsWith("application/x-www-form-urlencoded")) {
formParser.parsePostData(form, getInputStream(), javaEncoding);
}
else if ((getWebApp().doMultipartForm() || multipartConfig != null)
&& contentType.startsWith("multipart/form-data")) {