Ejemplo n.º 1
0
 /**
  * This method is used to get all <code>Part</code> objects that are associated with the request.
  * Each attachment contains the body and headers associated with it. If the request is not a
  * multipart POST request then this will return an empty list.
  *
  * @return the list of parts associated with this request
  */
 public List<Part> getParts() {
   if (series != null) {
     return series.getParts();
   }
   return Collections.emptyList();
 }