Package | Description |
---|---|
org.glassfish.jersey.media.multipart |
JAX-RS Integration with MIME MultiPart Message Formats
|
org.glassfish.jersey.media.multipart.file |
Provides support for body parts that are file attachments.
|
Modifier and Type | Class and Description |
---|---|
class |
FormDataBodyPart
Subclass of
BodyPart with specialized support for media type
multipart/form-data . |
class |
FormDataMultiPart
Subclass of
MultiPart with specialized support for media type multipart/form-data . |
class |
MultiPart
A mutable model representing a MIME MultiPart entity.
|
Modifier and Type | Method and Description |
---|---|
BodyPart |
BodyPart.contentDisposition(ContentDisposition contentDisposition)
Builder pattern method to return this
BodyPart after
additional configuration. |
BodyPart |
BodyPart.entity(Object entity)
Builder pattern method to return this
BodyPart after additional configuration. |
BodyPart |
MultiPart.entity(Object entity)
Override the entity set operation on a
MultiPart to throw
IllegalArgumentException . |
BodyPart |
BodyPart.type(MediaType type)
Builder pattern method to return this
BodyPart after additional configuration. |
Modifier and Type | Method and Description |
---|---|
List<BodyPart> |
MultiPart.getBodyParts()
|
Modifier and Type | Method and Description |
---|---|
MultiPart |
MultiPart.bodyPart(BodyPart bodyPart)
|
Modifier and Type | Class and Description |
---|---|
class |
FileDataBodyPart
An extension of
FormDataBodyPart for associating
File File as a body part entity. |
class |
StreamDataBodyPart
Represents an
InputStream based file submission as a part of the
multipart/form-data. |
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.