public class MultipartOutput extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
boundary |
protected List<OutputPart> |
parts |
Constructor and Description |
---|
MultipartOutput() |
Modifier and Type | Method and Description |
---|---|
OutputPart |
addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType) |
OutputPart |
addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType,
String filename) |
OutputPart |
addPart(Object entity,
Class<?> type,
Type genericType,
MediaType mediaType,
String filename,
boolean utf8Encode) |
OutputPart |
addPart(Object entity,
GenericType<?> type,
MediaType mediaType) |
OutputPart |
addPart(Object entity,
GenericType<?> type,
MediaType mediaType,
String filename) |
OutputPart |
addPart(Object entity,
GenericType<?> type,
MediaType mediaType,
String filename,
boolean utf8Encode) |
OutputPart |
addPart(Object entity,
MediaType mediaType) |
OutputPart |
addPart(Object entity,
MediaType mediaType,
String filename) |
OutputPart |
addPart(Object entity,
MediaType mediaType,
String filename,
boolean utf8Encode) |
String |
getBoundary() |
List<OutputPart> |
getParts() |
void |
setBoundary(String boundary) |
protected List<OutputPart> parts
protected String boundary
public OutputPart addPart(Object entity, MediaType mediaType)
public OutputPart addPart(Object entity, MediaType mediaType, String filename)
public OutputPart addPart(Object entity, MediaType mediaType, String filename, boolean utf8Encode)
public OutputPart addPart(Object entity, GenericType<?> type, MediaType mediaType)
public OutputPart addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename)
public OutputPart addPart(Object entity, GenericType<?> type, MediaType mediaType, String filename, boolean utf8Encode)
public OutputPart addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType)
public OutputPart addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename)
public OutputPart addPart(Object entity, Class<?> type, Type genericType, MediaType mediaType, String filename, boolean utf8Encode)
public List<OutputPart> getParts()
public String getBoundary()
public void setBoundary(String boundary)
Copyright © 2021 JBoss by Red Hat. All rights reserved.