Este contenido no está disponible en el idioma seleccionado.

20.3. Input with multipart/form-data


When you write a JAX-RS service, RESTEasy provides an interface that lets you read the multipart/form-data MIME type. multipart/form-data is often found in web application HTML Form documents, and is generally used to upload files. The form-data format is like other multipart formats except that each inlined piece of content is associated with a name. The interface for form-data input is org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput.
public interface MultipartFormDataInput extends MultipartInput
{
   @Deprecated
   Map<String, InputPart> getFormData();

   Map<String, List<InputPart>> getFormDataMap();

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

   <T> T getFormDataPart(String key, GenericType<T> type) throws IOException;
}
Copy to Clipboard Toggle word wrap
This works similarly to MultipartInput, as described earlier in this chapter.
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat