-
- All Known Implementing Classes:
MultiPartImpl
public interface MultiPartThis interface represents a multipart request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultivaluedMap<String,String>getHeaders()Returns the headers of the HTTP request, provided by the Jax-Rs runtime.List<Part>getParts()Returns the list of the received and processed parts.longgetSize()Returns the size of the whole multipart request.
-
-
-
Method Detail
-
getParts
List<Part> getParts()
Returns the list of the received and processed parts. Might be empty, but not null.- Returns:
- The list of the parts
-
getSize
long getSize()
Returns the size of the whole multipart request.- Returns:
- The full size of the request
-
getHeaders
MultivaluedMap<String,String> getHeaders()
Returns the headers of the HTTP request, provided by the Jax-Rs runtime.- Returns:
- The map of the headers
-
-