org.jboss.resteasy.plugins.providers.multipart
Interface MultipartFormDataInput

All Superinterfaces:
MultipartInput
All Known Implementing Classes:
MultipartFormDataInputImpl

public interface MultipartFormDataInput
extends MultipartInput

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 Map<String,InputPart> getFormData()
          Deprecated. 
 Map<String,List<InputPart>> getFormDataMap()
           
<T> T
getFormDataPart(String key, Class<T> rawType, Type genericType)
           
<T> T
getFormDataPart(String key, GenericType<T> type)
           
 
Methods inherited from interface org.jboss.resteasy.plugins.providers.multipart.MultipartInput
getParts, getPreamble
 

Method Detail

getFormData

@Deprecated
Map<String,InputPart> getFormData()
Deprecated. 

Will be removed in the future. Use getFormDataMap() instead.

Returns:
A parameter map containing only one value per name.

getFormDataMap

Map<String,List<InputPart>> getFormDataMap()
Returns:
A parameter map containing a list of values per name.

getFormDataPart

<T> T getFormDataPart(String key,
                      Class<T> rawType,
                      Type genericType)
                  throws IOException
Throws:
IOException

getFormDataPart

<T> T getFormDataPart(String key,
                      GenericType<T> type)
                  throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.