Searched refs:contentTransferEncoding (Results 1 – 4 of 4) sorted by relevance
312 InputStream in, String contentTransferEncoding) { in getInputStreamForContentTransferEncoding() argument313 if (contentTransferEncoding != null) { in getInputStreamForContentTransferEncoding()314 contentTransferEncoding = MimeUtility.getHeaderParameter(contentTransferEncoding, null); in getInputStreamForContentTransferEncoding()315 if ("quoted-printable".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()317 } else if ("base64".equalsIgnoreCase(contentTransferEncoding)) { in getInputStreamForContentTransferEncoding()325 public static Body decodeBody(InputStream in, String contentTransferEncoding) throws IOException { in decodeBody() argument329 in = getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()
305 public void setContentTransferEncoding(final byte[] contentTransferEncoding) { in setContentTransferEncoding() argument306 if (contentTransferEncoding == null) { in setContentTransferEncoding()310 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); in setContentTransferEncoding()
330 public void setContentTransferEncoding(byte[] contentTransferEncoding) { in setContentTransferEncoding() argument331 if(contentTransferEncoding == null) { in setContentTransferEncoding()335 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); in setContentTransferEncoding()
383 String contentTransferEncoding = null; in fetchInternal() local385 contentTransferEncoding = encodings[0]; in fetchInternal()389 contentTransferEncoding = "7bit"; in fetchInternal()401 contentTransferEncoding, in fetchInternal() local433 String contentTransferEncoding, in decodeBody() argument438 in = MimeUtility.getInputStreamForContentTransferEncoding(in, contentTransferEncoding); in decodeBody()