/** * This is used to acquire an <code>InputStream</code> for the * part. Acquiring the stream allows the content of the part to * be consumed by reading the stream. Each invocation of this * method will produce a new stream starting from the first byte. * * @return this returns the stream for this part object * * @throws IOException thrown if the stream can not be created */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }
/** * This is used to acquire an <code>InputStream</code> for the * part. Acquiring the stream allows the content of the part to * be consumed by reading the stream. Each invocation of this * method will produce a new stream starting from the first byte. * * @return this returns the stream for this part object * * @throws IOException thrown if the stream can not be created */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }
/** * This is used to read the content body. The specifics of the data * that is read from this <code>InputStream</code> can be determined * by the <code>getContentLength</code> method. If the data sent by * the client is chunked then it is decoded, see RFC 2616 section * 3.6. Also multipart data is available as <code>Part</code> objects * however the raw content of the multipart body is still available. * * @return the input stream containing the message body */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }
/** * This is used to read the content body. The specifics of the data * that is read from this <code>InputStream</code> can be determined * by the <code>getContentLength</code> method. If the data sent by * the client is chunked then it is decoded, see RFC 2616 section * 3.6. Also multipart data is available as <code>Part</code> objects * however the raw content of the multipart body is still available. * * @return the input stream containing the message body */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }
/** * This is used to acquire an <code>InputStream</code> for the * part. Acquiring the stream allows the content of the part to * be consumed by reading the stream. Each invocation of this * method will produce a new stream starting from the first byte. * * @return this returns the stream for this part object * * @throws IOException thrown if the stream can not be created */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }
/** * This is used to read the content body. The specifics of the data * that is read from this <code>InputStream</code> can be determined * by the <code>getContentLength</code> method. If the data sent by * the client is chunked then it is decoded, see RFC 2616 section * 3.6. Also multipart data is available as <code>Part</code> objects * however the raw content of the multipart body is still available. * * @return the input stream containing the message body */ public InputStream getInputStream() throws IOException { return body.getInputStream(); }