Class MultipartOutput
- java.lang.Object
 - 
- org.jboss.resteasy.plugins.providers.multipart.MultipartOutput
 
 
- 
- Direct Known Subclasses:
 MultipartFormDataOutput,MultipartRelatedOutput
public class MultipartOutput extends Object
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Stringboundaryprotected List<OutputPart>parts 
- 
Constructor Summary
Constructors Constructor Description MultipartOutput() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputPartaddPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType)OutputPartaddPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, String filename)OutputPartaddPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)OutputPartaddPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType)OutputPartaddPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType, String filename)OutputPartaddPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)OutputPartaddPart(Object entity, javax.ws.rs.core.MediaType mediaType)OutputPartaddPart(Object entity, javax.ws.rs.core.MediaType mediaType, String filename)OutputPartaddPart(Object entity, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)StringgetBoundary()List<OutputPart>getParts()voidsetBoundary(String boundary) 
 - 
 
- 
- 
Field Detail
- 
parts
protected List<OutputPart> parts
 
- 
boundary
protected String boundary
 
 - 
 
- 
Method Detail
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.MediaType mediaType)
 
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.MediaType mediaType, String filename)
 
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)
 
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType)
 
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType, String filename)
 
- 
addPart
public OutputPart addPart(Object entity, javax.ws.rs.core.GenericType<?> type, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)
 
- 
addPart
public OutputPart addPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType)
 
- 
addPart
public OutputPart addPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, String filename)
 
- 
addPart
public OutputPart addPart(Object entity, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, String filename, boolean utf8Encode)
 
- 
getParts
public List<OutputPart> getParts()
 
- 
getBoundary
public String getBoundary()
 
- 
setBoundary
public void setBoundary(String boundary)
 
 - 
 
 -