Lines Matching refs:content_type
314 private boolean checkMultiPart(String content_type) in checkMultiPart() argument
316 return content_type != null in checkMultiPart()
317 … && MimeTypes.Type.MULTIPART_FORM_DATA.is(HttpFields.valueParameters(content_type, null)); in checkMultiPart()
322 String content_type = getContentType(); in parseMultiParts() local
324 if (!checkMultiPart(content_type)) { in parseMultiParts()
332 parseMultiParts(content_type); in parseMultiParts()
335 private void parseMultiParts(String content_type) throws IOException in parseMultiParts() argument
340 content_type, multipart_config, tmpDir); in parseMultiParts()
724 String content_type = getContentType(req_ptr); in getContentType() local
726 if (characterEncoding == null && content_type != null) { in getContentType()
727 MimeTypes.Type mime = MimeTypes.CACHE.get(content_type); in getContentType()
728 …l || mime.getCharset() == null) ? MimeTypes.getCharsetFromContentType(content_type) : mime.getChar… in getContentType()
734 return content_type; in getContentType()
841 String content_type = getContentType(); in getParameters() local
844 if (content_type.startsWith("application/x-www-form-urlencoded")) { in getParameters()
847 } else if (checkMultiPart(content_type) && multipart_config != null) { in getParameters()
849 parseMultiParts(content_type); in getParameters()