Searched refs:boundary (Results 1 – 5 of 5) sorted by relevance
40 private byte[] boundary = null; field in MimeBoundaryInputStream51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument54 this.s = new PushbackInputStream(s, boundary.length() + 4); in MimeBoundaryInputStream()56 boundary = "--" + boundary; in MimeBoundaryInputStream()57 this.boundary = new byte[boundary.length()]; in MimeBoundaryInputStream()58 for (int i = 0; i < this.boundary.length; i++) { in MimeBoundaryInputStream()59 this.boundary[i] = (byte) boundary.charAt(i); in MimeBoundaryInputStream()149 for (int i = 0; i < boundary.length; i++) { in matchBoundary()151 if (b != boundary[i]) { in matchBoundary()156 s.unread(boundary[j]); in matchBoundary()
39 private String boundary = null; field in BodyDescriptor133 boundary = b; in addField()359 return boundary; in getBoundary()
169 String boundary = getBoundary(); in writeTo() local177 writer.write(boundary + "\r\n"); in writeTo()182 writer.write(boundary + "--" + "\r\n"); in writeTo()
152 public MultipartBuilder(String mimeType, String boundary) { in MultipartBuilder() argument153 mContentType = mimeType + "; boundary=" + boundary; in MultipartBuilder()
298 private static void writeBoundary(Writer writer, String boundary, boolean end) in writeBoundary() argument301 writer.append(boundary); in writeBoundary()