Questo contenuto non è disponibile nella lingua selezionata.

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.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat