String function ( ) { return new String ( generateMultipartBoundary ( ) , StandardCharsets . US_ASCII ) ; }
generate a random mime boundary as string , often used in multipart mime types . concode_field_sep String IMAGE_JPEG_VALUE concode_elem_sep MimeType TEXT_HTML concode_elem_sep MimeType ALL concode_elem_sep MimeType TEXT_XML concode_elem_sep Random RND concode_elem_sep String IMAGE_PNG_VALUE concode_elem_sep MimeType IMAGE_JPEG concode_elem_sep Comparator<MimeType> SPECIFICITY_COMPARATOR concode_elem_sep String APPLICATION_OCTET_STREAM_VALUE concode_elem_sep MimeType APPLICATION_OCTET_STREAM concode_elem_sep String APPLICATION_XML_VALUE concode_elem_sep MimeType APPLICATION_JSON concode_elem_sep MimeType IMAGE_PNG concode_elem_sep String ALL_VALUE concode_elem_sep MimeType IMAGE_GIF concode_elem_sep String TEXT_XML_VALUE concode_elem_sep byte[] BOUNDARY_CHARS concode_elem_sep String APPLICATION_JSON_VALUE concode_elem_sep MimeType APPLICATION_XML concode_elem_sep String IMAGE_GIF_VALUE concode_elem_sep String TEXT_HTML_VALUE concode_elem_sep String TEXT_PLAIN_VALUE concode_elem_sep MimeType TEXT_PLAIN concode_field_sep void sortBySpecificity concode_elem_sep MimeType parseMimeType concode_elem_sep String toString concode_elem_sep List<MimeType> parseMimeTypes concode_elem_sep byte[] generateMultipartBoundary