@Provider public class BusinessAdapterReader extends Object implements javax.ws.rs.ext.MessageBodyReader<BusinessAdapter>
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request |
Constructor and Description |
---|
BusinessAdapterReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
BusinessAdapter |
readFrom(Class<BusinessAdapter> arg0,
Type arg1,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream in) |
BusinessAdapter |
readRequest(InputStream in,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
BusinessAdapter |
readRequest(String content,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
BusinessAdapter |
readRequest0(String content,
javax.ws.rs.core.MultivaluedMap<String,String> headers) |
@Context protected javax.servlet.http.HttpServletRequest request
public BusinessAdapterReader()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<BusinessAdapter>
public BusinessAdapter readFrom(Class<BusinessAdapter> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream in) throws IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<BusinessAdapter>
IOException
javax.ws.rs.WebApplicationException
public BusinessAdapter readRequest(InputStream in, javax.ws.rs.core.MultivaluedMap<String,String> headers) throws IOException, javax.ws.rs.WebApplicationException
IOException
javax.ws.rs.WebApplicationException
public BusinessAdapter readRequest(String content, javax.ws.rs.core.MultivaluedMap<String,String> headers) throws javax.ws.rs.WebApplicationException
javax.ws.rs.WebApplicationException
public BusinessAdapter readRequest0(String content, javax.ws.rs.core.MultivaluedMap<String,String> headers) throws IOException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.