|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PartSeries
The PartSeries object represents an ordered list of
parts that were uploaded within a HTTP entity body. This allows
the parts to be iterated over, or if required accessed by name.
In order to access the Part object by name it must
have had a name within the Content-Disposition header.
| Method Summary | |
|---|---|
boolean |
addPart(Part part)
This is used to add a part to the list. |
Part |
getPart(String name)
This method is used to acquire a Part from the list
using a known name for the part. |
List<Part> |
getParts()
This is used to acquire the attachments associated with this list. |
| Method Detail |
|---|
List<Part> getParts()
boolean addPart(Part part)
part - this is the part that is to be added to the list
Part getPart(String name)
Part from the list
using a known name for the part. This is a convenient way to
access a part when the name for the part is known.
name - this is the name of the part to acquire
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||