public class MultipartFormDataInputImpl extends MultipartInputImpl implements MultipartFormDataInput
MultipartInputImpl.PartImpl
Modifier and Type | Field and Description |
---|---|
protected Map<String,InputPart> |
formData |
protected Map<String,List<InputPart>> |
formDataMap |
contentType, defaultPartCharset, defaultPartContentType, empty, mimeMessage, parts, savedProviders, workers
Constructor and Description |
---|
MultipartFormDataInputImpl(MediaType contentType,
Providers workers) |
Modifier and Type | Method and Description |
---|---|
protected InputPart |
extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) |
protected void |
finalize() |
Map<String,InputPart> |
getFormData()
Deprecated.
Will be removed in the future. Use
getFormDataMap() instead. |
Map<String,List<InputPart>> |
getFormDataMap() |
<T> T |
getFormDataPart(String key,
Class<T> rawType,
Type genericType) |
<T> T |
getFormDataPart(String key,
GenericType<T> type) |
addHeaderToHeadlessStream, close, createHeaderInputStream, extractParts, getCharset, getParts, getPreamble, main, parse, setProviders
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getParts, getPreamble
@Deprecated public Map<String,InputPart> getFormData()
getFormDataMap()
instead.getFormData
in interface MultipartFormDataInput
public Map<String,List<InputPart>> getFormDataMap()
getFormDataMap
in interface MultipartFormDataInput
public <T> T getFormDataPart(String key, Class<T> rawType, Type genericType) throws IOException
getFormDataPart
in interface MultipartFormDataInput
IOException
public <T> T getFormDataPart(String key, GenericType<T> type) throws IOException
getFormDataPart
in interface MultipartFormDataInput
IOException
protected InputPart extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) throws IOException
extractPart
in class MultipartInputImpl
IOException
protected void finalize() throws Throwable
finalize
in class MultipartInputImpl
Throwable
Copyright © 2021 JBoss by Red Hat. All rights reserved.