/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer, series); }
/** * Constructor for the <code>BufferPart</code> object. This is * used to create a part from a multipart body. Each part will * contain the headers associated with it as well as the body. * * @param segment this holds the headers for the part * @param buffer this represents the body for the part */ public BufferPart(Segment segment, Buffer buffer) { this.body = new BufferBody(buffer); this.segment = segment; }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer, series); }
/** * Constructor for the <code>BufferPart</code> object. This is * used to create a part from a multipart body. Each part will * contain the headers associated with it as well as the body. * * @param segment this holds the headers for the part * @param buffer this represents the body for the part */ public BufferPart(Segment segment, Buffer buffer) { this.body = new BufferBody(buffer); this.segment = segment; }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer, series); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(); }
/** * This is used to acquire the body for this HTTP entity. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Part</code> objects. Each * part can then be read as an individual message. * * @return the body provided by the HTTP request message */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body for this HTTP entity. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Part</code> objects. Each * part can then be read as an individual message. * * @return the body provided by the HTTP request message */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body for this HTTP entity. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Part</code> objects. Each * part can then be read as an individual message. * * @return the body provided by the HTTP request message */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }
/** * Constructor for the <code>BufferPart</code> object. This is * used to create a part from a multipart body. Each part will * contain the headers associated with it as well as the body. * * @param segment this holds the headers for the part * @param buffer this represents the body for the part */ public BufferPart(Segment segment, Buffer buffer) { this.body = new BufferBody(buffer); this.segment = segment; }
/** * This is used to acquire the body that has been consumed. This * will return a body which can be used to read the content of * the message, also if the request is multipart upload then all * of the parts are provided as <code>Attachment</code> objects. * Each part can then be read as an individual message. * * @return the body that has been consumed by this instance */ public Body getBody() { return new BufferBody(buffer); }