Class MultiPartImpl
- java.lang.Object
-
- com.github.elopteryx.upload.rs.internal.MultiPartImpl
-
-
Method Summary
All Methods Instance Methods Concrete 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.voidsetHeaders(MultivaluedMap<String,String> headers)
-
-
-
Method Detail
-
getParts
public List<Part> getParts()
Description copied from interface:MultiPartReturns the list of the received and processed parts. Might be empty, but not null.
-
getSize
public long getSize()
Description copied from interface:MultiPartReturns the size of the whole multipart request.
-
getHeaders
public MultivaluedMap<String,String> getHeaders()
Description copied from interface:MultiPartReturns the headers of the HTTP request, provided by the Jax-Rs runtime.- Specified by:
getHeadersin interfaceMultiPart- Returns:
- The map of the headers
-
setHeaders
public void setHeaders(MultivaluedMap<String,String> headers)
-
-