code: public static final boolean isMultipartContent(HttpServletRequest request) {
  		if (!RestConst.POST_METHOD.equalsIgnoreCase(request.getMethod())) {
  			return false;
  		}
  		String contentType = request.getContentType();
  		if (contentType == null) {
  			return false;
  		}
  		contentType = contentType.toLowerCase(Locale.ENGLISH);
  		if (contentType.startsWith(RestConst.MULTIPART) 
  				|| MediaType.APPLICATION_OCTET_STREAM.equals(contentType)) {
  			return true;
  		}
  		return false;
  	}
docs: 是否multipart/form-data or application/octet-stream表单提交方式
  @param request
  @return