Package | Description |
---|---|
org.glassfish.jersey.media.multipart |
JAX-RS Integration with MIME MultiPart Message Formats
The classes in this package provide for integration of
multipart/* request
and response bodies in a JAX-RS runtime environment. |
Modifier and Type | Method and Description |
---|---|
MultiPartProperties |
MultiPartProperties.bufferThreshold(int threshold)
Set the size (in bytes) of the entity of an incoming
BodyPart before it will be buffered to disk. |
MultiPartProperties |
MultiPartProperties.maxParts(int maxParts)
Set the maximum number of received parts of a multipart entity.
|
MultiPartProperties |
MultiPartProperties.tempDir(String path)
Set the path to the directory to store temporary files containing body parts of multipart message that extends allowed
memory threshold.
|
Modifier and Type | Method and Description |
---|---|
ContextResolver<MultiPartProperties> |
MultiPartProperties.resolver()
Create a
context resolver for a current state of this MultiPartProperties . |
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.