org.jboss.resteasy.plugins.providers.multipart
Class MultipartOutput

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.multipart.MultipartOutput
Direct Known Subclasses:
MultipartFormDataOutput, MultipartRelatedOutput

public class MultipartOutput
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  java.lang.String boundary
           
protected  java.util.List<OutputPart> parts
           
 
Constructor Summary
MultipartOutput()
           
 
Method Summary
 OutputPart addPart(java.lang.Object entity, java.lang.Class<?> type, java.lang.reflect.Type genericType, MediaType mediaType)
           
 OutputPart addPart(java.lang.Object entity, GenericType<?> type, MediaType mediaType)
           
 OutputPart addPart(java.lang.Object entity, MediaType mediaType)
           
 java.lang.String getBoundary()
           
 java.util.List<OutputPart> getParts()
           
 void setBoundary(java.lang.String boundary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parts

protected java.util.List<OutputPart> parts

boundary

protected java.lang.String boundary
Constructor Detail

MultipartOutput

public MultipartOutput()
Method Detail

addPart

public OutputPart addPart(java.lang.Object entity,
                          MediaType mediaType)

addPart

public OutputPart addPart(java.lang.Object entity,
                          GenericType<?> type,
                          MediaType mediaType)

addPart

public OutputPart addPart(java.lang.Object entity,
                          java.lang.Class<?> type,
                          java.lang.reflect.Type genericType,
                          MediaType mediaType)

getParts

public java.util.List<OutputPart> getParts()

getBoundary

public java.lang.String getBoundary()

setBoundary

public void setBoundary(java.lang.String boundary)


Copyright © 2010. All Rights Reserved.