public class MultipartFormDataOutput extends MultipartOutput
Modifier and Type | Field and Description |
---|---|
protected Map<String,OutputPart> |
formData |
boundary, parts
Constructor and Description |
---|
MultipartFormDataOutput() |
Modifier and Type | Method and Description |
---|---|
OutputPart |
addFormData(String key,
Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart |
addFormData(String key,
Object entity,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
addFormData(String key,
Object entity,
MediaType mediaType) |
Map<String,OutputPart> |
getFormData() |
addPart, addPart, addPart, getBoundary, getParts, setBoundary
protected Map<String,OutputPart> formData
public OutputPart addFormData(String key, Object entity, MediaType mediaType)
public OutputPart addFormData(String key, Object entity, GenericType<?> type, MediaType mediaType)
public OutputPart addFormData(String key, Object entity, Class<?> type, Type genericType, MediaType mediaType)
public Map<String,OutputPart> getFormData()
Copyright © 2018 JBoss by Red Hat. All rights reserved.