Package | Description |
---|---|
org.glassfish.jersey.media.multipart |
JAX-RS Integration with MIME MultiPart Message Formats
|
org.glassfish.jersey.media.multipart.internal |
Jersey multipart media support internal classes.
|
Modifier and Type | Class and Description |
---|---|
class |
FormDataMultiPart
Subclass of
MultiPart with specialized support for media type multipart/form-data . |
Modifier and Type | Method and Description |
---|---|
MultiPart |
MultiPart.bodyPart(BodyPart bodyPart)
|
MultiPart |
MultiPart.bodyPart(Object entity,
javax.ws.rs.core.MediaType mediaType)
|
MultiPart |
BodyPart.getParent()
Returns the parent
MultiPart (if any) for this BodyPart . |
MultiPart |
MultiPart.type(javax.ws.rs.core.MediaType type)
Builder pattern method to return this
MultiPart after
additional configuration. |
Modifier and Type | Method and Description |
---|---|
void |
BodyPart.setParent(MultiPart parent)
Sets the parent
MultiPart (if any) for this BodyPart . |
Modifier and Type | Method and Description |
---|---|
MultiPart |
MultiPartReaderClientSide.readFrom(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream)
Reads the entire list of body parts from the Input stream, using the
appropriate provider implementation to de-serialize each body part's entity.
|
protected MultiPart |
MultiPartReaderClientSide.readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
protected MultiPart |
MultiPartReaderServerSide.readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
Modifier and Type | Method and Description |
---|---|
long |
MultiPartWriter.getSize(MultiPart entity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
MultiPartWriter.writeTo(MultiPart entity,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream stream)
Write the entire list of body parts to the output stream, using the
appropriate provider implementation to serialize each body part's entity.
|
Modifier and Type | Method and Description |
---|---|
MultiPart |
MultiPartReaderClientSide.readFrom(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream)
Reads the entire list of body parts from the Input stream, using the
appropriate provider implementation to de-serialize each body part's entity.
|
protected MultiPart |
MultiPartReaderClientSide.readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
protected MultiPart |
MultiPartReaderServerSide.readMultiPart(Class<MultiPart> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream stream) |
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.