org.jboss.resteasy.plugins.providers.multipart
Class AbstractMultipartWriter
java.lang.Object
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
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 |
workers
@Context
protected Providers workers
AbstractMultipartWriter
public AbstractMultipartWriter()
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.