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