@Provider @Produces(value="multipart/form-data") public class MapMultipartFormDataWriter extends AbstractMultipartFormDataWriter implements javax.ws.rs.ext.MessageBodyWriter<Map<String,Object>>
workers| Constructor and Description |
|---|
MapMultipartFormDataWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(Map<String,Object> map,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(Map<String,Object> map,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
writePartswrite, writePartpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public long getSize(Map<String,Object> map, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public void writeTo(Map<String,Object> map, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<Map<String,Object>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.