public class

ODataBatchProvider

extends Object
implements MessageBodyReader<T>
java.lang.Object
   ↳ org.odata4j.producer.resources.ODataBatchProvider

Summary

Nested Classes
enum ODataBatchProvider.HTTP_METHOD  
Constants
String MULTIPART_MIXED
Fields
HttpHeaders httpHeaders
UriInfo uriInfo
Public Constructors
ODataBatchProvider()
Public Methods
static String createResponseBodyPart(BatchBodyPart bodyPart, Response response)
boolean isReadable(Class<?> type, Type genericType, Annotation[] antns, MediaType mt)
List<BatchBodyPart> readFrom(Class<List<BatchBodyPart>> type, Type genericType, Annotation[] antns, MediaType mt, MultivaluedMap<String, String> mm, InputStream inputStream)
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.ws.rs.ext.MessageBodyReader

Constants

public static final String MULTIPART_MIXED

Constant Value: "multipart/mixed"

Fields

HttpHeaders httpHeaders

UriInfo uriInfo

Public Constructors

public ODataBatchProvider ()

Public Methods

public static String createResponseBodyPart (BatchBodyPart bodyPart, Response response)

Parameters
bodyPart
response

public boolean isReadable (Class<?> type, Type genericType, Annotation[] antns, MediaType mt)

Parameters
type
genericType
antns
mt

public List<BatchBodyPart> readFrom (Class<List<BatchBodyPart>> type, Type genericType, Annotation[] antns, MediaType mt, MultivaluedMap<String, String> mm, InputStream inputStream)

Parameters
type
genericType
antns
mt
mm
inputStream
Throws
IOException
WebApplicationException