public class

BatchMultipartWriter

extends MultiPartWriter
java.lang.Object
   ↳ com.sun.jersey.multipart.impl.MultiPartWriter
     ↳ org.mule.modules.odata.odata4j.extensions.BatchMultipartWriter

Class Overview

Multipart writer with custom management of the boundary string intended for consuming batch services

Summary

Fields
private static final Annotation[] EMPTY_ANNOTATIONS
[Expand]
Inherited Fields
From class com.sun.jersey.multipart.impl.MultiPartWriter
Public Constructors
BatchMultipartWriter()
Public Methods
void writeTo(MultiPart entity, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream stream)
[Expand]
Inherited Methods
From class com.sun.jersey.multipart.impl.MultiPartWriter
From class java.lang.Object
From interface javax.ws.rs.ext.MessageBodyWriter

Fields

private static final Annotation[] EMPTY_ANNOTATIONS

Public Constructors

public BatchMultipartWriter ()

Public Methods

public void writeTo (MultiPart entity, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> headers, OutputStream stream)

Parameters
entity
type
genericType
annotations
mediaType
headers
stream
Throws
IOException
WebApplicationException