/** * This is used to acquire the part for this HTTP entity. This * will return a part which can be used to read the content of * the message, the part created contains the contents of the * body and the headers associated with it. * * @return the part provided by the HTTP request message */ public Part getPart() { return new BufferPart(segment, buffer); }
/** * This method is used to determine the type of a part. Typically * a part is either a text parameter or a file. If this is true * then the content represented by the associated part is a file. * * @return this returns true if the associated part is a file */ public boolean isFile() { return getDisposition().isFile(); }
/** * This method is used to acquire the name of the part. Typically * this is used when the part represents a text parameter rather * than a file. However, this can also be used with a file part. * * @return this returns the name of the associated part */ public String getName() { return getDisposition().getName(); }
/** * This method is used to acquire the file name of the part. This * is used when the part represents a text parameter rather than * a file. However, this can also be used with a file part. * * @return this returns the file name of the associated part */ public String getFileName() { return getDisposition().getFileName(); }
/** * This is used to acquire the part for this HTTP entity. This * will return a part which can be used to read the content of * the message, the part created contains the contents of the * body and the headers associated with it. * * @return the part provided by the HTTP request message */ public Part getPart() { return new BufferPart(segment, buffer); }
/** * This method is used to determine the type of a part. Typically * a part is either a text parameter or a file. If this is true * then the content represented by the associated part is a file. * * @return this returns true if the associated part is a file */ public boolean isFile() { return getDisposition().isFile(); }
/** * This is used to acquire the part for this HTTP entity. This * will return a part which can be used to read the content of * the message, the part created contains the contents of the * body and the headers associated with it. * * @return the part provided by the HTTP request message */ public Part getPart() { return new BufferPart(segment, buffer); }
/** * This method is used to acquire the file name of the part. This * is used when the part represents a text parameter rather than * a file. However, this can also be used with a file part. * * @return this returns the file name of the associated part */ public String getFileName() { return getDisposition().getFileName(); }
/** * This method is used to acquire the name of the part. Typically * this is used when the part represents a text parameter rather * than a file. However, this can also be used with a file part. * * @return this returns the name of the associated part */ public String getName() { return getDisposition().getName(); }
/** * This method is used to determine the type of a part. Typically * a part is either a text parameter or a file. If this is true * then the content represented by the associated part is a file. * * @return this returns true if the associated part is a file */ public boolean isFile() { return getDisposition().isFile(); }
/** * This method is used to acquire the file name of the part. This * is used when the part represents a text parameter rather than * a file. However, this can also be used with a file part. * * @return this returns the file name of the associated part */ public String getFileName() { return getDisposition().getFileName(); }
/** * This method is used to acquire the name of the part. Typically * this is used when the part represents a text parameter rather * than a file. However, this can also be used with a file part. * * @return this returns the name of the associated part */ public String getName() { return getDisposition().getName(); }