Searched defs:Part (Results 1 - 3 of 3) sorted by relevance

/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DPayload.java87 * which returns an Iterator<Part>. With each {@link Part} available through the
88 * iterator the caller can use {@link Part#getContentType()},
89 * {@link Part#getName()}, and {@link Part#getInputStream()}.
92 * <h2>Part Properties</h2>
93 * Each Part can carry with it Properties. The conventions as to what property
107 * local system. Placing such information in the Part's properties helps to
120 * Part's input stream before advancing to the next Part
375 public static interface Part { interface in interface:Payload
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/admin/payload/
H A DZipPayloadImpl.java57 * Implementation of Payload based on representing each payload Part as a
61 * program must consume each Part's data - by invoking the Part's getInputStream()
62 * method and exhausting the stream - before advancing to the next Part
65 * and improve performance this implementation does not store each Part's
66 * contents internally. That's why the calling program must consume each Part's content
69 * Each ZipEntry supports "extra" data. This implementation stores the Part properties
70 * in this extra data. Further, each Part can have a different content-type and
72 * for the Part.
90 private void prepareEntry(final Payload.Part par
302 static class Part extends PayloadImpl.Part { class in class:ZipPayloadImpl
307 private Part( method in class:ZipPayloadImpl.Part
[all...]
H A DPayloadImpl.java72 private final ArrayList<Payload.Part> parts = new ArrayList<Payload.Part>();
80 parts.add(Part.newInstance(contentType, name, props, content));
89 parts.add(Part.newInstance(contentType, name, props, content));
100 parts.add(index, Part.newInstance(contentType, name, props, content));
165 parts.add(Part.newInstance(
195 parts.add(Part.newInstance(
218 parts.add(Part.newInstance(
260 parts.add(Part.newInstance(
277 parts.add(Part
452 public static abstract class Part implements Payload.Part { class in class:PayloadImpl
467 Part(final String contentType, final String name, final Properties props) { method in class:PayloadImpl.Part
[all...]

Completed in 20 milliseconds