@Provider public class BusinessAdapterReader extends Object implements MessageBodyReader<BusinessAdapter>
Constructor and Description |
---|
BusinessAdapterReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
BusinessAdapter |
readFrom(Class<BusinessAdapter> arg0,
Type arg1,
Annotation[] arg2,
MediaType arg3,
MultivaluedMap<String,String> headers,
InputStream in) |
BusinessAdapter |
readRequest(InputStream in,
MultivaluedMap<String,String> headers) |
BusinessAdapter |
readRequest(String content,
MultivaluedMap<String,String> headers) |
BusinessAdapter |
readRequest0(String content,
MultivaluedMap<String,String> headers) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isReadable
in interface MessageBodyReader<BusinessAdapter>
public BusinessAdapter readFrom(Class<BusinessAdapter> arg0, Type arg1, Annotation[] arg2, MediaType arg3, MultivaluedMap<String,String> headers, InputStream in) throws IOException, WebApplicationException
readFrom
in interface MessageBodyReader<BusinessAdapter>
IOException
WebApplicationException
public BusinessAdapter readRequest(InputStream in, MultivaluedMap<String,String> headers) throws IOException, WebApplicationException
IOException
WebApplicationException
public BusinessAdapter readRequest(String content, MultivaluedMap<String,String> headers) throws WebApplicationException
WebApplicationException
public BusinessAdapter readRequest0(String content, MultivaluedMap<String,String> headers) throws Exception
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.