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

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter
Direct Known Subclasses:
AbstractMultipartFormDataWriter, AbstractMultipartRelatedWriter, ListMultipartWriter, MultipartWriter

public class AbstractMultipartWriter
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  Providers workers
           
 
Constructor Summary
AbstractMultipartWriter()
           
 
Method Summary
protected  void write(MultipartOutput multipartOutput, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders, java.io.OutputStream entityStream)
           
protected  void writePart(java.io.OutputStream entityStream, byte[] boundaryBytes, OutputPart part, MultivaluedMap<java.lang.String,java.lang.Object> headers)
           
protected  void writeParts(MultipartOutput multipartOutput, java.io.OutputStream entityStream, byte[] boundaryBytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workers

@Context
protected Providers workers
Constructor Detail

AbstractMultipartWriter

public AbstractMultipartWriter()
Method Detail

write

protected void write(MultipartOutput multipartOutput,
                     MediaType mediaType,
                     MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
                     java.io.OutputStream entityStream)
              throws java.io.IOException
Throws:
java.io.IOException

writeParts

protected void writeParts(MultipartOutput multipartOutput,
                          java.io.OutputStream entityStream,
                          byte[] boundaryBytes)
                   throws java.io.IOException
Throws:
java.io.IOException

writePart

protected void writePart(java.io.OutputStream entityStream,
                         byte[] boundaryBytes,
                         OutputPart part,
                         MultivaluedMap<java.lang.String,java.lang.Object> headers)
                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.