Class MultipartFormDataInputImpl
java.lang.Object
org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl
org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInputImpl
- All Implemented Interfaces:
ProvidersContextRetainer
,MultipartFormDataInput
,MultipartInput
public class MultipartFormDataInputImpl
extends MultipartInputImpl
implements MultipartFormDataInput
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl
MultipartInputImpl.PartImpl
-
Field Summary
Fields inherited from class org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl
contentType, defaultPartCharset, defaultPartContentType, empty, parts, savedProviders, workers
-
Constructor Summary
ConstructorDescriptionMultipartFormDataInputImpl
(jakarta.ws.rs.core.MediaType contentType, jakarta.ws.rs.ext.Providers workers) MultipartFormDataInputImpl
(org.apache.james.mime4j.dom.Multipart multipart, jakarta.ws.rs.ext.Providers workers) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputPart
extractPart
(org.apache.james.mime4j.message.BodyPart bodyPart) <T> T
getFormDataPart
(String key, jakarta.ws.rs.core.GenericType<T> type) <T> T
getFormDataPart
(String key, Class<T> rawType, Type genericType) Methods inherited from class org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl
addHeaderToHeadlessStream, close, createHeaderInputStream, extractParts, getCharset, getMimeMessage, getParts, getPreamble, main, parse, setProviders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.plugins.providers.multipart.MultipartInput
close, getParts, getPreamble
-
Field Details
-
formDataMap
-
-
Constructor Details
-
MultipartFormDataInputImpl
public MultipartFormDataInputImpl(jakarta.ws.rs.core.MediaType contentType, jakarta.ws.rs.ext.Providers workers) -
MultipartFormDataInputImpl
public MultipartFormDataInputImpl(org.apache.james.mime4j.dom.Multipart multipart, jakarta.ws.rs.ext.Providers workers) throws IOException - Throws:
IOException
-
-
Method Details
-
getFormDataMap
- Specified by:
getFormDataMap
in interfaceMultipartFormDataInput
- Returns:
- A parameter map containing a list of values per name.
-
getFormDataPart
- Specified by:
getFormDataPart
in interfaceMultipartFormDataInput
- Throws:
IOException
-
getFormDataPart
- Specified by:
getFormDataPart
in interfaceMultipartFormDataInput
- Throws:
IOException
-
extractPart
protected InputPart extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) throws IOException - Overrides:
extractPart
in classMultipartInputImpl
- Throws:
IOException
-